Welcome to WebmasterWorld Guest from

Forum Moderators: ocean10000

Message Too Old, No Replies

Using VBScript to Automate FTP - compressed files corrupted

Are there any known issues with why .z files come through corrupted?

4:11 pm on May 11, 2007 (gmt 0)

New User

10+ Year Member

joined:Nov 29, 2006
votes: 0

Does anyone know of any known issues, anything to watch out for, etc... when writing a VBScript for automating an FTP process for compressed log files?

I depend upon someone else to get log files to me at the end of every week because our Web server is controlled by a contractor. Everything has been working fine where I get them via Filezilla FTP in a .z format. Then I use Filzip "convert archive" feature to convert to .zip.

Recently, he wrote a VBScript to automate the FTP so they will be there for me to retrieve every week. Ever since this automated process, I get File Corrupted errors in Filzip when trying to convert the archive format. Other people have tried using other software and had the same problem. There are various errors when trying to extract the file as well.

When he put it back to a manual process it works, so I know it's the script and not Filezilla settings or Filzip.

I do not have much technical knowledge or scripting experience so please explain as basic as possible. Thanks.

5:47 am on May 12, 2007 (gmt 0)

Full Member

10+ Year Member

joined:May 14, 2001
votes: 0

Is your contractor ftp'ing as ascii instead of binary in his script?