View Single Post

  #3 (permalink)  
Old 05-03-2008
Robert Heller
 
Posts: n/a
Default Re: Pros and Cons of using ftp vs. rsync?

At 03 May 2008 12:52:33 GMT goran@lycos.com (Goran Ivanic) wrote:

>
> 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?


Ftp is not secure. I would not use it to transfer large amounts of stuff
from one server to another, unless what you are doing is something like
mirroring a ftp site. If you are planing to provide a mirror to a ftp
site, you should talk to the sysadmin of the site you are mirroring.
They probably have a rsync server in place for this purpose.

Otherwise...

Using rsync over ssh (rsunc -e ssh ...) or using tar over ssh (tar czvf -
-C sourcedir files | ssh othermachine tar xzvf - -C destdir) are both
good options. I'd use the tar/ssh route if this is a new / first time
transfer. Using rsync is better if it is an update (some random subset
of files need to be transfered).

>
> Goran
>


--
Robert Heller -- Get the Deepwoods Software FireFox Toolbar!
Deepwoods Software -- Linux Installation and Administration
http://www.deepsoft.com/ -- Web Hosting, with CGI and Database
heller@deepsoft.com -- Contract Programming: C/C++, Tcl/Tk

Reply With Quote