You are here:  » gzip: invalid suffix


gzip: invalid suffix

Submitted by Stew on Mon, 2014-04-28 20:51 in

Hi David,

Hope all is well, have setup a cron job which is running OK, it seems one CSV feed is downloading OK, but the other file which is compressed as gzip isn't downloading/unzipping and getting an error message: "invalid suffix".

The last few lines of the cron response email are:

{code save}

Submitted by support on Tue, 2014-04-29 15:52

Hello Stew,

This is a rare one, but I have come across versions of gzip that do not require (and raise this error) with -S "", so if you edit your fetch script, and simply delete any instances of

-S ""

...it should then work fine...

Cheers,
David.
--
PriceTapestry.com