Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I was transferring a few dozen gigs from one PC to another with scp. I got disconnected and double checked and found FTP to be faster (I scp only affected CPU to encrypt)

How do I resume my file transfer? I want to copy all of my files recursing from a root directory and not spend hours overwrite files.

I am using FTP on the command line for Mac Leopard which should be the same as linux

What is the command to put multiple directories without overwriting files (while still recurring) with FTP?

share|improve this question

1 Answer 1

You can only restart a download with ftp not an upload (as far as I know) the native command would be "reget" and the remote server has to support it.

That being said if you have already gotten a partial transfer done with sftp, and wish to continue you may want to look at rsync or rsync over ssh to complete your transfer. I.e rsync -avz . -e "ssh" user@host:/targetdir/

Most of the slowness you experience with scp is related to the encryption and the serial nature of the connection.

share|improve this answer
    
What command can i use to put files via ftp without overwrite? –  acidzombie24 Nov 4 '09 at 2:49
2  
+1 for rsync -- that's the way to copy a few dozen gigs –  Josh Nov 4 '09 at 2:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.