I have a FTP server but I would like to use the resume option to restart an upload in case the connection is lost.
Can FTP do this?
If not is there a file transfer protocol that allows to do such a thing..?
Thanks!
Your FTP client should support resume transfer. I prefer FileZilla.
You'll need both a server and a client that supports REST
(restart) and SIZE
which are defined in RFC-3659. The server should respond to a FEAT
command with REST STREAM
.
Ideally the client and server would support MDTM
which reports the modification time of a file on the server so the client can decide if the file has been modified since it started transferring.
More specifically, the server does not have the ability to resume a broken file transfer connection. However, depending on the FTP client being used (not all do this), a resume capability can be implemented in that code.
For something completely different, you could try rsync instead of FTP (assuming you can install it at both client and server and you control any firewalls)