Group: comp.os.linux.networking
From: Bill Marcum
Date: Friday, April 04, 2008 12:27 PM
Subject: Re: copying whole directories CLI ftp client

On 2008-04-04, Jurgen Haan wrote:
>
>
> John Murtari wrote:
>
>> Not sure what the final goal is, but a lot of people don't
>> know that most FTP servers will automatically create a tar
>> file for you of a directory, .e.g. On windows xp I can open
>> a command prompt, use their command line ftp to login to
>> our RHEL 4 server, switch to binary transfer and then
>> type: get junk_dir.tar -- it will download a single tar
>> file to you containing the contents of junk_dir on the server.
>>
>> Hope this helps. There may be a way to 'reverse' the
>> process, but I don't know the command.
>
> Didn't know that, but also, did not get it to work.
> Tried it on ProFTPD, PureFTP and FTPD. (not my installs, but servers I
> have FTP logins on, so it's either turned off or unsupported).

It might be that if the ftp server runs chrooted, it need to see a
"/bin/tar".

Safety Articles | Usenet Groups | Usenet News | Bluegrass