PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > comp.unix.shell > Pros and Cons of using ftp vs. rsync?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.unix.shell Using and programming the Unix shell.

Pros and Cons of using ftp vs. rsync?

Réponse
 
LinkBack Outils de la discussion
Vieux 03/05/2008, 13h52   #1
Goran Ivanic
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Pros and Cons of using ftp vs. rsync?

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?

Goran
  Réponse avec citation
Vieux 03/05/2008, 15h25   #2
Robert Heller
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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

  Réponse avec citation
Vieux 04/05/2008, 15h09   #3
Chris Davies
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Pros and Cons of using ftp vs. rsync?

In comp.os.linux.misc Goran Ivanic <goran@lycos.com> wrote:
> Assume I want to transfer large amounts of stuff from one server to
> another (through Internet).


Either you do or you don't. It's hard enough understanding people's
questions without having unnecessary assumptions thrown about.


> Which method should I prefer:
> ftp or rsync ?


Your preference is entirely up to you. Personally, if it really was
"large amounts of stuff", I'd consider sending a tape through the post.


> What are the Pros and Cons?
> Which is faster?
> Which is more stable?


I think you probably ought to go and do your own homework, don't you?
Chris
  Réponse avec citation
Vieux 05/05/2008, 12h58   #4
Moody
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Pros and Cons of using ftp vs. rsync?

On May 4, 7:09 pm, Chris Davies <chris-use...@roaima.co.uk> wrote:
> In comp.os.linux.misc Goran Ivanic <go...@lycos.com> wrote:
>
> > Assume I want to transfer large amounts of stuff from one server to
> > another (through Internet).

>
> Either you do or you don't. It's hard enough understanding people's
> questions without having unnecessary assumptions thrown about.
>
> > Which method should I prefer:
> > ftp or rsync ?

>



I would rather go for rsync, it gives you a lot more functionality
over ftp,,,you may customize and do stuff like files to retain or
not...


> Your preference is entirely up to you. Personally, if it really was
> "large amounts of stuff", I'd consider sending a tape through the post.
>
> > What are the Pros and Cons?
> > Which is faster?
> > Which is more stable?

>
> I think you probably ought to go and do your own homework, don't you?
> Chris


  Réponse avec citation
Vieux 05/05/2008, 16h49   #5
Guillaume Dargaud
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Pros and Cons of using ftp vs. rsync?

There's really no reason to prefer ftp over rsync, except maybe that most
browser have ftp support but not always rsync.

If you are going to have many simultaneous transfers, you may not want to do
it over ssh as it will be too CPU intensive over a fat pipe.
--
Guillaume Dargaud
http://www.gdargaud.net/Antarctica/


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 02h52.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12350 seconds with 13 queries