Ftp – What’s the best way to move a large amount of files

ftprsync

I have about 6 TB of files I need to move from one server to another. I did my best to move it over FTP like below, but the connection dies a lot, and after a certain amount of progress, it disconnects before it even resumes moving files from I presume taking too long to compare files before actually transferring and then timing out.

~/ncftp-3.2.3/bin/ncftpput -R -z -v -u "user" -p "password" upload.server.net /local/dir/ remote/dir/

I'm trying to get the remote server to give me access with SSH so I can set up an rsync, but is there anything more stable I can do over ftp, so maybe it'll try on it's own to resume without recomparing the entire file lists?

Best Answer

If your only access is via FTP, you may want to look into lftp (should be in most distros).

lftp supports automatic retries on failure and also has a mirror option which sounds like it matches what you want to do.

Related Topic