upload and Cold Fusion
Posted: Tue Nov 17, 2009 8:48 pm
Hi, Excellent product.
I'm looking to thoroughly test and integrate b4 purchasing.
I'm using the applet_http_batch_upload.html and ColdFusion to process on server side.
I'm unclear as to how to get at the list of files that have been uploaded.
I've tried the process_debug.cfm script and it reports what I'd expect ie UPLOADFILE=path/filename but I need to have this info available to a script so that I can update dB's etc. I've read the relevant sections on POST and FORWARD parameters to the applet in applet_http_batchupload.js but am not understanding how to display the names of file(s) uploaded, or use them to do further processing.
The process.cfm script has a section at the end that appears to be attempting to display the name of an uploaded file but I never see this displayed in the browser once an upload has completed. ie the section where a variable called "message" is constructed from some of the results returned by the CFFILE operation.
I know this is really simple but I'm missing something important about the sequence of actions.
Any help much appreciated.
Thanks,
Julian
I'm looking to thoroughly test and integrate b4 purchasing.
I'm using the applet_http_batch_upload.html and ColdFusion to process on server side.
I'm unclear as to how to get at the list of files that have been uploaded.
I've tried the process_debug.cfm script and it reports what I'd expect ie UPLOADFILE=path/filename but I need to have this info available to a script so that I can update dB's etc. I've read the relevant sections on POST and FORWARD parameters to the applet in applet_http_batchupload.js but am not understanding how to display the names of file(s) uploaded, or use them to do further processing.
The process.cfm script has a section at the end that appears to be attempting to display the name of an uploaded file but I never see this displayed in the browser once an upload has completed. ie the section where a variable called "message" is constructed from some of the results returned by the CFFILE operation.
I know this is really simple but I'm missing something important about the sequence of actions.
Any help much appreciated.
Thanks,
Julian