大文件上传大文件、上传

2023-09-08 14:17:09 作者:疲倦爱情。

我有一个接受真正大文件的Web服务。通常在10〜 - 15 GB(而不是MB)。 然而上传使用浏览器使用Chrome在Linux上才有可能。所有3个主要的浏览器有不同的缺陷要上传这样的文件:

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 major browsers have different flaws trying to upload such a file:

在Internet Explorer中完全4GB。在停止 在Firefox不启动。 在浏览器(在Windows上)传输整个文件,但无法发送收盘bondary(发送0xFF的代替)。

现在,我们正在寻找一种方式来获得上传工作。 pferably使用HTML / JS而已,但我$ P $看不出有什么办法做到这一点。第二次尝试将闪光灯,但的FileReference似乎打破了文件> 4GB。最后的办法是Java的,但是这不是我们要找的在浏览器客户端。

Now we are searching for a way to get uploads to work. Preferably using HTML/JS only, but I see no way to make that happen. Second try would be flash, but FileReference seems to break for files > 4GB. Last way would be Java but that is not what we are looking for in the browser client.

请注意,这是关于客户端。我知道,在服务器端code工作,因为我可以使用标准的HTML上传Chrome浏览器在Linux上上传12GB文件。这是唯一的浏览器/操作系统组合,到目前为止的工​​作,但为此我相信,服务器coode是好的。

Note that this is about the client. I know that the server side code works, as I can upload a 12GB file using standard HTML-Upload with Chrome on Linux. It is the only browser/os combination that works so far, but therefor I am sure, the server coode is fine.

有谁知道什么办法让大文件的上传工作?

Does anyone know any way to get huge file uploads to work?

问候,   斯特芬

推荐答案

有一个相当年轻的JS / HTML5 API,它可能包括你的用户的情况:

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.