0 Replies Latest reply on Aug 18, 2009 2:05 PM by will bailey

    Multipart file uploads

    will bailey

      I'm trying to write an application that can post multiple files to a webserver in a single request.  This is necessary to allow an atomic post that cannot partially succeed or fail. 


      I am trying to determine if this is possible in the air-sdk.  I know that I can call upload on a FileReference object.  I'm looking for a way to call upload on a collection of file reference objects and to have the data coalesced into a single url request to the webserver as a multi-part post.


      Is this possible in the air-sdk or would I need to write something custom to do this?  I was looking into archiving the files into one file locally and then posting the single archive file to the web-server; however, it would be nice if there was an easier way to do this.