Question:
I was just wondering if anyone knows how to resume a file download using the
Inet control. For example, if there is a file of 10 megs. I download 5 and
then get disconnected or something. Then the next time I try to download
that file, it resumes at 5.
Basically, how do i tell the Inet control to request data starting from the
byte x?
Answer:
The command you need to send to the server is the REST command. Not
all servers support this command, however. For those that do support
the REST command, the Restart method of our FTP control will allow you
to resume the transfer of files after stopping in the middle.
The FTP control is part of our SocketTools package, which is a suite
of Internet controls including HTTP, SMTP, MIME, POP3 and Telnet. You
can download an evaluation copy of SocketTools at
http://www.catalyst.com