Yes, this can be done, using ByteArray and base64 encoding if I recall correctly, though I have not done it. Search the archives, it is discussed regularly.
Tracy Spratt, Lariat Services, development services available _____ From: [email protected] [mailto:[email protected]] On Behalf Of timgerr Sent: Wednesday, April 01, 2009 5:20 PM To: [email protected] Subject: [flexcoders] Re: Has anyone done a file upload and download, store data into database Sorry for not being clear. I want to transfer a file (image or document) to my back end PHP using flex. I then want PHP to convert the file to binary and store the data into a database. I think I know how to do that. I then want to be able to retrieve that data from a query to the back end via flex and then have the user download the file (in the correct file format). Can the 2nd part be done with flex, retrieving the file??? Thanks, timgerr --- In flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com, "Tracy Spratt" <tspr...@...> wrote: > > Can you be more clear on what you want? "Download" typically means to take > a physical file from a remote file system and save it in a local filesystem. > There is no "conversion" involved. > > > > Perhaps you do not mean "download"? What kinds of file formats are you > talking about, and what do you want to do with the data in the Flex client? > > > > Tracy Spratt, > > Lariat Services, development services available > > _____

