Flash Upload Example

Last post 04-09-2008 8:15 PM by BarryR. 8 replies.
Page 1 of 1 (9 items)
Sort Posts: Previous Next
  • 03-18-2008 11:52 PM

    Flash Upload Example

    Anyone have a flash uploader example? 

    Filed under:
  • 03-19-2008 4:02 AM In reply to

    • BarryR
    • Top 10 Contributor
    • Joined on 07-20-2007
    • San Diego
    • Posts 630

    Re: Flash Upload Example

    We have a sample flash uploader.  I will do my best to get this uploaded to file area as soon as possible.

    Regards,
        Barry R.

    IM Support (Feel free to add me)

    MSN: barryruffner@msn.com
    Gmail: barryruffner@gmail.com
  • 03-19-2008 2:32 PM In reply to

    Re: Flash Upload Example

     Thank you

  • 03-27-2008 3:19 PM In reply to

    Re: Flash Upload Example

    Thanks so much for this. I wasn't aware that direct-to-Nirvanix-via-flash was possible, given flash uploading's notorious issues with session-cookies and incorrect mime types.

    are the mime-types a problem or can we fix them afterwards?

    I would like to see if I can modify swfUpload to do the part of the uploader... the folks on that project have worked hard at building something reliable and via best practices... anyone want to help??

    Filed under:
  • 04-04-2008 2:42 PM In reply to

    • BarryR
    • Top 10 Contributor
    • Joined on 07-20-2007
    • San Diego
    • Posts 630

    Re: Flash Upload Example

    Mime-types are currently derived from the file extension so there is no problem when uploading.  The other issues with uploading we have spent some time working on so hopefully any flash application should have no problems uploading to our servers.  Please let us know if you run into any issues with third party or custom flash uploaders.

    Regards,
         Barry R.

    IM Support (Feel free to add me)

    MSN: barryruffner@msn.com
    Gmail: barryruffner@gmail.com
    Filed under: ,
  • 04-06-2008 3:50 AM In reply to

    Re: Flash Upload Example

    flash is capable of selecting and uploading multiple files, but my understanding is that each one is sent as if from it's own form. Am I correct in assuming that in the case of multiple file uploads from flash, each file must get a unique upload token?
  • 04-09-2008 7:20 PM In reply to

    • BarryR
    • Top 10 Contributor
    • Joined on 07-20-2007
    • San Diego
    • Posts 630

    Re: Flash Upload Example

    You can pass multiple files in one request using the same token since the file names must be different from one another.  This will prevent a collision since the unique identifier is the filename plus the upload token. With flash since you generally cannot modify the headers you will be limited to ~2gb per upload request (all files combined) unless you find a way to do partial file upload.

    Regards,
         Barry R.

    IM Support (Feel free to add me)

    MSN: barryruffner@msn.com
    Gmail: barryruffner@gmail.com
  • 04-09-2008 7:35 PM In reply to

    Re: Flash Upload Example

    sorry, to clarify, swfUpload (and some other flash uploaders, I believe) are designed to queue multiple uploads, but sends each one as its own 'form submission', one after another (as opposed to a single HTML form with multiple file inputs). In that case, the files would upload sequentially, as separate transactions, but from the same client machine. It's analgous to doing a single-file form, reloading on success, then doing another single-file upload. Does the 2nd (Nth) file upload require a fresh uploadToken?

  • 04-09-2008 8:15 PM In reply to

    • BarryR
    • Top 10 Contributor
    • Joined on 07-20-2007
    • San Diego
    • Posts 630

    Re: Flash Upload Example

    You may have them expire at some point if the upload takes a long enough period of time.  If your first upload takes some time subsequent uploads could fail.  If that is the case you should use GetStorageNodeExtended which will let you set the period of time your upload token is available.  A second consideration is that the filenames are not the same.  If they are you can have one file writing data to the other since the filename and upload token is how we uniquely identify each file's upload.

    Regards,
         Barry R.

    IM Support (Feel free to add me)

    MSN: barryruffner@msn.com
    Gmail: barryruffner@gmail.com
Page 1 of 1 (9 items)