Joshie Surber wrote:
^^^^^^^^^^^^^
Please provide attribution.
vvvvvvvvvvvvvvvvvvvvvvvvvvv
You can not do this... especially not on a zip file.
Not true.
You can stop your download partway through but then you will only have
the first however many bytes. Downloads are not random access media.
However, for example most FTP servers and clients provide means of
resume which is essentially random access to that file resource.
(To be at least a bit on-topic
---------------------------------------------------------------------------
$ ftp (e-mail address removed)-aachen.de
Connected to sunsite.informatik.rwth-aachen.de.
220 Welcome to SunSITE CEUR
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd /pub/mirror/eclipse/S-3.2M3-200511021600
250 Directory successfully changed.
ftp> get eclipse-platform-3.2M3-linux-gtk.tar.gz
local: eclipse-platform-3.2M3-linux-gtk.tar.gz remote:
eclipse-platform-3.2M3-linux-gtk.tar.gz
229 Entering Extended Passive Mode (|||57355|)
150 Opening BINARY mode data connection for
eclipse-platform-3.2M3-linux-gtk.tar.gz (29718549 bytes).
27% |********* | 7836 KB 711.73 KB/s 00:29
ETA
receive aborted. Waiting for remote to finish abort.
426 Failure writing network stream.
226 ABOR successful.
8130784 bytes received in 00:11 (696.60 KB/s)
ftp> ^D
221 Goodbye.
ftp> open sunsite.informatik.rwth-aachen.de
Connected to sunsite.informatik.rwth-aachen.de.
220 Welcome to SunSITE CEUR
Name (sunsite.informatik.rwth-aachen.de
elinux): anonymous
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd /pub/mirror/eclipse/S-3.2M3-200511021600
250 Directory successfully changed.
ftp> restart 8130784
Restarting at 8130784 for next get, put or append
ftp> get eclipse-platform-3.2M3-linux-gtk.tar.gz
local: eclipse-platform-3.2M3-linux-gtk.tar.gz remote:
eclipse-platform-3.2M3-linux-gtk.tar.gz
229 Entering Extended Passive Mode (|||45064|)
350 Restart position accepted (8130784).
150 Opening BINARY mode data connection for
eclipse-platform-3.2M3-linux-gtk.tar.gz (29718549 bytes).
100% |*************************************| 29022 KB 714.23 KB/s 00:00
ETA
226 File send OK.
21587765 bytes received in 00:29 (714.22 KB/s)
ftp> ^D
221 Goodbye.
---------------------------------------------------------------------------
The OP's problem is best addressed with a download tool such as an
FTP client, not JS/ECMAScript.
PointedEars