if I use the command 'compress' in a LC script to save a zipped file onto my Mac's disk (OSX Lion), I afterwards get an error trying to uncompress this file.
Terminal is telling me: 'gzip: Blah.gz: unexpected end of file'.
If I upload the same zipped file to a ftp server in my LC script and then do a download with my Mac's ftp client, uncompressing works great!

What's different between saving directly to hard drive and do the loop over a ftp server ? Or other question: how can I prevent this 'unexpected end of file' ? For saving I use the following commands in my script:
Code: Select all
put tFile into the URL("file:Blah.gz") //saving on disk
put tFile into URL "ftp://ftp.xyz.com/Blah.gz" //saving on ftp
Gian.