Huge file upload

前端 未结 3 1461
悲&欢浪女
悲&欢浪女 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:28

    There is a fairly young JS/HTML5 API which might cover your user case:

    https://developer.mozilla.org/en-US/docs/Using_files_from_web_applications

    I can't speak to its suitability though.

    0 讨论(0)
  • 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.

    0 讨论(0)
  • 2021-01-21 19:45

    If you're using IIS, the default max file upload is 4GB. You need to change this in your script or your server settings.

    See: Increasing Max Upload File Size on IIS7/Win7 Pro

    0 讨论(0)
提交回复
热议问题