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!

pehrs
  • 8,789
  • 1
  • 30
  • 46
Necronet
  • 283
  • 2
  • 5
  • 17

4 Answers4

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.

DerfK
  • 19,493
  • 2
  • 38
  • 54
1

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

xeon
  • 3,806
  • 18
  • 18
  • Yes but it seems that the files get corrupted every time i try to resume my upload any comment on that? – Necronet Oct 29 '10 at 16:26
  • What happens if the file to be retrieved changes between the resumes? – mdpc Oct 29 '10 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 Oct 29 '10 at 16:30
  • Any other server that allows uploading resume or just FTP – Necronet Oct 29 '10 at 19:23
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.

mdpc
  • 11,856
  • 28
  • 53
  • 67
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)

jqa
  • 451
  • 2
  • 7