But I thought that in the upload process the CF Server made a temp copy of the file. Can you use that to read the data from? I know that I have to explicitly tell the form results page that I want to put the uploaded file in a specific place with a specific name when I upload files. I thought if you looked at the form field with the filename you would have access to the temp file. Now, I am not sure what CF does with the temp file when you are done, but you could just set up a scheduled task to clear those out.
Rob On Tue, Nov 25, 2008 at 12:40 PM, Ian Skinner <[EMAIL PROTECTED]> wrote: > Here is a new one for me. > > I'm in the middle of creating a simple tool that is going to take a > data file and display a grid of the data for users to review. So I have > a basic form for the user to select a local data file they would like to > review. What occurred to me is I have no need to store this file on the > server. There is no purpose for it. I am just going to take the data > from the file, parse it into a grid and display it. > > My question is, is there a simple way to just read the data from the > http request? Looking at the <cffile action="upload"...> tag I have > used for years, it is geared to saving the uploaded file to the server. > But I don't need this. It would require me to write the file to the > server, read the file to get its content, and then delete the file as I > do not want it hanging around the server. It could be simpler if I > could just get the data from the request and use it from there. > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315896 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4