Thanks guys. IAN this caught my attention:
"The client reads the file from the user's file system and encrypts it into the header of the request" I've been using fiddler to view the headers and see the data I want : 200 Content-Disposition: form-data; name="b_file"; filename="C:\Documents and Settings\dsdfsd\Desktop\clean up\test.docupload.doc" However I don't know how to access this via coldfusion. I've tried gethttprequestData but unfortunatley I think by that point my window of opportunity had past. somehow need to get at the request at an earlier stage. > On 3/7/2011 11:40 AM, Don wrote: > >>> Why do you need to do this before you process it with CFFILE? > > Because once its uploaded the server hacks off the last (.) > > > > For example: > > > > original file: somefile.mack.txt > > > > renamed file on server: somefile.mack > > Well, as Dave indicated, ColdFusion is not actually involved in the > file > upload. No matter that the parameter of the <cffile...> tag is called. > > The flow is: > > User picks file with client (i.e. browser) file form control. > > The user submits the request. > > The client reads the file from the user's file system and encrypts it > > into the header of the request. > > It then sends the request to the web server (i.e. IIS, Apache, etc). > > The web server decrypts the file from the header to a temporary > location. > (C:\JRun4\servers\cfusion25\SERVER-INF\temp\cfusion. > war-tmp\neotmp4910092545170934955.tmp) > for example. > > The web server then tells ColdFusion about the uploaded file and where > > it was. > > If you want to do anything with the file data before the last step, > you > will either have to have code running on the Client system OR you > might > be able to get some of the data from the raw request headers. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342819 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm