View Single Post

  #13 (permalink)  
Old 05-05-2008
Todd H.
 
Posts: n/a
Default Re: Pros and Cons of using ftp vs. rsync?

goran@lycos.com (Goran Ivanic) writes:
> Assuem I want to transfer large amounts of stuff from one server to another (through Internet).
>
> Which method should I prefer:
>
> ftp or rsync ?
>
> What are the Pros and Cons?
>
> Which is faster?
>
> Which is more stable?


rsync over ssh is the way to go in most cases. The most compelling
reasons against ftp are its cleartext method of credential exchange
and braindeadness with respect to interrupted transfers. You'll be
retransmitting everything if you have an issue half way through.
With rsync, this issue is avoided.

rsync -avz -e ssh /home/blah user@remotehost:/blah

--
Todd H.
http://www.toddh.net/
Reply With Quote