I think it is possible to download via FTP in flex: http://projects.maliboo.pl/FlexFTP/
and I'm pretty sure that there's no conversion needed to get it back to a text file or anything. I haven't done any downloading via FTP but I've had a Java client stream me files plenty of times and it comes out the other end as the file. -J ________________________________ From: Matthew <[email protected]> To: [email protected] Sent: Tue, November 24, 2009 12:34:48 PM Subject: [flexcoders] Re: byteStream to .txt file I haven't hooked up the byteArray object yet so I don't even know if it could work with an FTP server. I'm guessing from your response that the answer is no, it wouldn't work. --- In flexcod...@yahoogro ups.com, Julian Alexander <wb...@...> wrote: > > How are you even getting the byte stream if it's over FTP? > > > > > ____________ _________ _________ __ > From: Matthew <fume...@.... > > To: flexcod...@yahoogro ups.com > Sent: Tue, November 24, 2009 10:21:15 AM > Subject: [flexcoders] Re: byteStream to .txt file > > > I didn't realize I could plug in an FTP address into URLRequest. > > Regardless, I just found out he have write access but not read access on that > server. > > Anyway, I think I can use the byteArray class to read a byte stream but is > there some type of library for creating a TXT file out of that? > > Thanks for your help. > > Matt > > --- In flexcod...@yahoogro ups.com, Julian Alexander <wb2nd@> wrote: > > > > > > > > Check out the FileReference class. It has a download() method that can be > > passed a URLRequest. > > > > -Julian > > > > > > > > ____________ _________ _________ __ > > From: Matthew <fumeng5@ > > > To: flexcod...@yahoogro ups.com > > Sent: Tue, November 24, 2009 9:30:14 AM > > Subject: [flexcoders] byteStream to .txt file > > > > > > Hi - > > > > I'm working with a Java developer and trying to figure out how to download > > files off a server. Because the server doesn't accept HTTP requests (only > > FTP), I can't link to the file. > > > > The Java developer wants to send the file to me as a byteStream. Is this > > possible? How do I transform that to a .txt file? Is there a better > > solution? > > > > Thanks for any tips. > > > > Matt > > > __._,_..___ Reply to sender | Reply to group Messages in this topic (5) Recent Activity: * New Members 28 Visit Your Group Start a New Topic -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat..com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com MARKETPLACE Mom Power: Discover the community of moms doing more for their families, for the world and for each other Switch to: Text-Only, Daily Digest • Unsubscribe • Terms of Use .

