0 Replies Latest reply on Dec 12, 2008 9:26 AM by borfgordon

    Download large file to disk in background

    borfgordon Level 1
      Lets say I need to download a very large file like 600mb via UrlStream and the user only has 512mb ram? This does not involved user interaction but is a background operation they trigger. (not using FileReference) How do I do this with UrlStream, it seems that UrlStream's behavior is only to download everything into memory and I have to read the bytes out of the stream into a ByteArray. As I readBytes from an UrlStream does that essentially remove them from it's internal storage in memory?