Going over the file references in a FileReferenceList calling upload on each one means the files are uploaded as separate requests.
I want to upload a bunch of file in one POST (and I already have a ASHX handler that will accept it).
Any ideas?
Going over the file references in a FileReferenceList calling upload on each one means the files are uploaded as separate requests.
I want to upload a bunch of file in one POST (and I already have a ASHX handler that will accept it).
Any ideas?
AFAIK that is not possible.
From the docs:
The FileReferenceList class lets the user select one or more files to upload to a server-side script. The file upload is handled by the FileReference.upload() method, which must be called on each file that the user selects.
...and...
Uploading multiple files requires you to upload each of the selected files by using FileReference.upload()
You could perhaps create a zip with the AS3 zip library and send that to the server.