- see footer for list info -<
A 3rd party is sending files to a CF script on my server using a HTTP post and I'm using CFFILE action="upload" to grab them. The problem is they're sending multiple jpeg files using the same form field name. So the formfields sent to my server could be "description, jpg, jpg".
ColdFusion is only giving me access to the 2nd jpg file, presumably because it overwrites the first value. A cffump of "form" reveals just 2 fields with content - description and jpg. (Only 1 jpg). Viewing the raw HTTP data confirm there are 2 jpg files, both variables called jpg. If I were using PHP it would let me treat form.jpg as an array so I'd loop over it to get both jpg files, but CF is showing only 1 jpg file in its form structure. Any suggestion please? (The sender can't change their form field names sadly) Thanks, Gary F. _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:-
- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< - Lists hosted by www.Gradwell.com -< - CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
