Re: copy all data from ftp server



On Sat, 14 Jan 2012 23:04:07 +0000, unruh wrote:

On 2012-01-14, cerr <ron.eggler@xxxxxxxxx> wrote:
Hi,

I want to copy all the files from an ftp server and thought, I'd use
rsync but got following:

A) Many people who host files will regard this an an abuse and will cut
you off.
b) rsync is NOT ftp. You can use rsync ONLY if they support rsync. You
cannot use rsync on an ftp server.


reg@reg-desktop:/opt/lampp/htdocs/Quaaoutlodge$ rsync --delete -avzr
USER@xxxxxxxxxxxxxxxxxxxxxx:/www.quaaoutlodge.com/web/content/ .
quaaoutlodge@xxxxxxxxxxxxxxxxxxxxxx's password: protocol version
mismatch -- is your shell clean? (see the rsync man page for an
explanation) rsync error: protocol incompatibility (code 2) at
compat.c(174) [Receiver=3.0.8]

So I did a
reg@reg-desktop:/opt/lampp/htdocs/Quaaoutlodge$ rsh
USER@xxxxxxxxxxxxxxxxxxxxxx /bin/true > out.dat
quaaoutlodge@xxxxxxxxxxxxxxxxxxxxxx's password: and what I get is:
reg@reg-desktop:/opt/lampp/htdocs/Quaaoutlodge$ cat out.dat sftpsh:
Command not allowed.

What does that mean exactly? How else can I duplicate all the files and
directories from the ftp?

Go and transfer the files one by one to your machine.



Thanks,
roN

Why can't you just create a backup.tar.gz, download it and uncompress it
once you have it?

--
Simon.
RLU: 222126
UIN: 8948262

.



Relevant Pages

  • Re: copy all data from ftp server
    ... I want to copy all the files from an ftp server and thought, ... If it's a website and you don't have FTP access, ... I have twice tried to download entire sites covering ... cannot use rsync on an ftp server. ...
    (alt.os.linux)
  • Re: copy all data from ftp server
    ... I want to copy all the files from an ftp server and thought, ... (see the rsync man page for an explanation) ... protocol incompatibility at compat.c ... "Growth for the sake of growth is the ideology of the cancer cell." ...
    (alt.os.linux)
  • Re: copy all data from ftp server
    ... I want to copy all the files from an ftp server and thought, ... Many people who host files will regard this an an abuse and will cut ... rsync is NOT ftp. ... protocol incompatibility at compat.c ...
    (alt.os.linux)
  • copy all data from ftp server
    ... I want to copy all the files from an ftp server and thought, ... protocol version mismatch -- is your shell clean? ... (see the rsync man page for an explanation) ... protocol incompatibility at compat.c ...
    (alt.os.linux)
  • Re: rsync and moving files [Re: backup w/ snapshots]
    ... In this regard, it's a nice port. ... But won't this perl-script suffer ... Or does it use rsync in more ...
    (freebsd-questions)