On Tuesday 20 Aug 2002 3:33 pm, Steveo wrote:

Hi Steveo,

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

My guess is that the ftp transfer is using text mode to transfer the file and 
not binary.  In text mode, ftp compares the line termination codes on the 
source and destination computers and converts acordingly.  More specifically, 
it converts between CR/LF on DOS boxes with LF on unix boxes.

The way I understand it, unix to unix text mode should be the same as binary 
mode, but maybe the ftp client or server's getting confused.

You could either change the ftp process to include the 'binary' command, or 
use an alternative such as rcp or even better scp.

Gary


> Steveo (aka Haiku)
> [EMAIL PROTECTED]
> www.linuxhaiku.com

-- 
Gary Stainburn
 
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000     



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

Reply via email to