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 flexcoders@yahoogroups.com, Julian Alexander <wb...@...> wrote: > > How are you even getting the byte stream if it's over FTP? > > > > > ________________________________ > From: Matthew <fume...@...> > To: flexcoders@yahoogroups.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 > > >