- see footer for list info -<
The sender is a commercial service and told me that their other customers don't have a problem using their example code (which is in php). I looked in the tmp dir where the files are placed, but they don't appear in File Explorer. Perhaps they come and go quicker than Windows can update explorer. I'll try a cffile "copy" if CF can blink that fast. Thanks for the suggestion.
Gary. On 7/26/07, Peter Boughton <[EMAIL PROTECTED]> wrote:
>- see footer for list info -< >> The sender can't change their form field names Why not? I'm fairly sure the files will get stored on the server without the cffile/action=upload - but in a temporary folder that probably gets deleted when the request ends. Try having a look inside your main CF directories to see if any files are getting generated, and then you can just copy the file elsewhere. On 7/26/07, Gary <[EMAIL PROTECTED]> wrote: > > >- 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 > -< > -- \ \ Peter Boughton blog.bpsite.net / / _______________________________________________ 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 -<
_______________________________________________ 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 -<
