WOFIleUpload multiple file upload
WOFIleUpload multiple file upload
- Subject: WOFIleUpload multiple file upload
- From: "Pelaia II, Tom" <email@hidden>
- Date: Mon, 14 Jun 2010 13:50:46 -0400
- Acceptlanguage: en-US
- Thread-topic: WOFIleUpload multiple file upload
Since HTML 5 and Safari support the "multiple" attribute for file upload, I have been trying to figure out how to fetch multiple files submitted through the form. If I add the "multiple" attribute to a WOFileUpload element, indeed Safari allows me to pick multiple files and the file name attribute returns a comma delimited list of file names in the form values. However, the form data only contains the first selected file content. I have been struggling to figure out how to get the file content for all selected files.
If I just use the file input tag directly and set multipart/form-data, I get form data for each file, but the content I get is empty for each file.
What can I do within WebObjects to get the content of each uploaded file?
thanks,
tom _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden