You shouldn't have to save it on the server at all. You can return the data that was posted directly as a download. I would stray away from using a query string and use HTTP_POST instead.
Another thing you could do rather than send all the data to the server again would be to send parameters that specify what filtering the user did, and do that on the dataset on the server side, generate the file you want to have them download and send it. Seth From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of coder3 Sent: Thursday, January 31, 2008 5:03 PM To: [email protected] Subject: RE: [flexcoders] how to create a file and then download ok, if i send the data to the server, and server can generate it. for example, my application is at http:/www.myapp.com/myapp, and i need to call "http://www.myserver.com/report.pl?myparameters" so that it returns a text file, do i have to save it to the location where my application is and then download it? thanks -c Tracy Spratt wrote: > > Send the data to the server, generate the file there, pass back the > saved location, and download it. > > Tracy > > > > ________________________________ > > From: [email protected] <mailto:flexcoders%40yahoogroups.com> [mailto:[email protected] <mailto:flexcoders%40yahoogroups.com> ] On > Behalf Of coder3 > Sent: Thursday, January 31, 2008 6:34 PM > To: [email protected] <mailto:flexcoders%40yahoogroups.com> > Subject: [flexcoders] how to create a file and then download > > > > > Hi, > I need to generate a file based on the current data on the page and then > download it. help? > > the sample code i can find is to download an existing file from the same > directory as the SWF document. > > thanks! > > c > -- > View this message in context: > http://www.nabble.com/how-to-create-a-file-and-then-download-tp15217361p > 15217361.html > <http://www.nabble.com/how-to-create-a-file-and-then-download-tp15217361 > p15217361.html> > Sent from the FlexCoders mailing list archive at Nabble.com. > > > > > -- View this message in context: http://www.nabble.com/how-to-create-a-file-and-then-download-tp15217361p1521 8596.html Sent from the FlexCoders mailing list archive at Nabble.com.

