0

I am at work and have a need to download large files, 4gb+. I only actually need the first 20mb of these files, however. To conserve bandwidth and time, I would like to only download the first 20mb instead of the whole file. Because I am at work and using Windows 7, I cannot install new software or compile anything. I saw, in the link below, that someone attempts to do this using Java. Because I have access to a web browser, I am able to make applications with Javascript. Is there a way to accomplish downloading only part of a file using only Javascript?

How do I download part of a file using Java?

4

1 回答 1

1

您可以发送HTTP RANGE请求。除了您可以通过 AJAX 发送请求之外,这与 JavaScript 几乎没有关系

于 2013-06-12T15:26:53.283 回答