Huge file upload

前端 未结 3 1463
悲&欢浪女
悲&欢浪女 2021-01-21 19:05

I have a web service that accepts really huge files. Usually in the range of 10 - 15 GB (not MB). However upload using a browser is only possible using Chrome on Linux. All 3 ma

3条回答
  •  北荒
    北荒 (楼主)
    2021-01-21 19:31

    Normally you would break and upload such files in chunks using stream upload. If you take a limited amount data of the file, upload that part to the server, server appends data to the file. Repeat till complete file is uploaded. You can read a file in parts using FileStream (update: Adobe AIR only) or with javascript using the experimental Blob/FileReader. I guess this could be a workaround for the problem.

    I think this solution could help: AS3 fileStream appears to read the file into memory

    Let me know if this works out, its an interesting problem.

提交回复
热议问题