3

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!

4 Answers 4

1

Your FTP client should support resume transfer. I prefer FileZilla.

4
  • Yes but it seems that the files get corrupted every time i try to resume my upload any comment on that?
    – Necronet
    Commented Oct 29, 2010 at 16:26
  • What happens if the file to be retrieved changes between the resumes?
    – mdpc
    Commented Oct 29, 2010 at 16:29
  • In these type of cases, I have sometimes found that my firewall software has causes file corruption. You might was to try running the upload w/o the firewall being active.
    – mdpc
    Commented Oct 29, 2010 at 16:30
  • Any other server that allows uploading resume or just FTP
    – Necronet
    Commented Oct 29, 2010 at 19:23
2

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.

1

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.

1

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)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .