Forum Discussion
_anomDiebolt_
9 years agoQrew Elite
Well this script could easily evolve into such a capability but it has to be tested first.
The capabilities of modern JavaScript are nothing short of amazing. What you are asking for is an called an Iterator in ES6 Javascript. If an object is an Iterator you can loop over it with very compact notation and with high levels of abstractions. Almost any process can be made into an Iterator.
The only issue there might be is that some files such as video files could fail to upload (with a message disconnect by server) and the remaining chain of files to upload would be abandoned using a simple-minded Iterator. Also there could be potential for accidental abuse if performing large scale iterations involving a lot of resources could be achieved with a couple of lines of code. Hence the need for testing.
The capabilities of modern JavaScript are nothing short of amazing. What you are asking for is an called an Iterator in ES6 Javascript. If an object is an Iterator you can loop over it with very compact notation and with high levels of abstractions. Almost any process can be made into an Iterator.
The only issue there might be is that some files such as video files could fail to upload (with a message disconnect by server) and the remaining chain of files to upload would be abandoned using a simple-minded Iterator. Also there could be potential for accidental abuse if performing large scale iterations involving a lot of resources could be achieved with a couple of lines of code. Hence the need for testing.
_anomDiebolt_
9 years agoQrew Elite
It is the size of the file that is the issue not the type of file. I assume at some point it would fail on a pdf document if it was too large.
GS> if yes, please do your testing and let me know If I can help you in some part of testing
You appear to be asking me to test it - I already have. Let me know the results of your tests.
GS> if yes, please do your testing and let me know If I can help you in some part of testing
You appear to be asking me to test it - I already have. Let me know the results of your tests.