Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

gzip crc error

Status
Not open for further replies.

Patten

Technical User
Aug 22, 2002
106
0
0
BE
Our customers compress files with gzip and upload it via ftp. They all use the same script which forces the ftp in binary mode. Sometimes we cannot decompress the received files anymore: we receive following error: invalid compressed data --crc error. When they recompress and reftp the file, sometimes it works the second time. Any ideas out there what may be cause this error?
 
The first step would be to save a 'bad' file which fails CRC, and a supposedly identical 'good' file which has no CRC errors.

Then use the [tt]cmp[/tt] utility to find out what the actual differences are.

Once you know what the differences are, then perhaps you can figure out how those changes came about.

Perhaps it fails to go into binary mode on occasion?

Is there any way of making the FTP transfer verbose, and logging what goes on?

--
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top