On Tue, 2002-08-20 at 09:33, Steveo wrote:
> I have a webserver that I do a tar.gz operation on everyday.  That backup 
> is stored locally on the machine and I can unzip and access the archive and 
> it's contents with no problems.  At the same time, I ftp that backup to a 
> remote machine.  However after the operation, when I try to unzip or access 
> that remote backup, I get:
> 
> invalid compressed data--format violated
> 
> Both machines are running RH7.1.  If anyone can give me some insight into 
> this issue, it would be greatly appreciated.
> Steveo (aka Haiku)
> [EMAIL PROTECTED]
> www.linuxhaiku.com

Probably not sending the file using binary format 

from ncftp

NcFTP 3.0.3 (April 15, 2001) by Mike Gleason ([EMAIL PROTECTED]).
ncftp> help type
type: sets file transfer type (one of 'ascii' or 'binary').
Usage: type [ascii | binary | image]
ncftp> 


I have all but eliminated use of ftp on our network in favor of scp
assuming sshd is running on the webserver you can do from the remote
machine:

scp webservername:/path/to/file/to/be/transfered /path/to/local/dir

using ssh-agent or a passphraseless key you can script this and run it
from cron.

There is also rsync  with the   --rsh=/usr/bin/ssh option that will use
ssh as the transport.

Neither of these options use clear text passwords that ncan be sniffed.

Bret

HTH






-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to