I've done this with a CSV file in the past. I used CFFILE in conjunction
with CFFTP to upload the file and move it to a web-accessible location.
Then, I read the CSV file using CFHTTP as a query. For my purposes, I
had to do some pre-processing on the CSV file to ensure that CFHTTP
would read it properly, and that was a pain, but once that was done it
worked pretty well.

Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
Open BlueDragon Steering Committee
Adobe Solution Provider


Ian Skinner 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:315895
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to