0 Replies Latest reply on May 26, 2010 9:04 PM by cavosk

    Uploading splitted file in separate posts

    cavosk

      Hi

       

      Is it possible next scenario?:


      Choose a file I want to upload (like using FileReference). Then flash (flex/air?) will split file to - for example - 1MB chunks and these chunks will send (post method) to server? (server will then join chunks to original file).
      I don't want desktop-like application using air but small swf file that will load as object to html page providing upload functionality.

       

      I know, that flash (neither flex) can't access local files he choose. But file I choose to upload is accessible. Problem is that FileReference class don't have method to byte-oriented reading from file.

       

      I think facebook has functionality like this. When you upload large video, it will do multiple requests to server.

       


      Thanks