ftp automation

ScriptFTP

The professional tool to automate FTP, SFTP, FTPS and schedule FTP batch jobs

The forum is now read only. Please, go to the the main ScriptFTP website if you need help.
Missing any feature or command? Post your ideas here. Suggestions are welcome.
Hi all,

i try to download from a ftp a zip file.
after this download i would like to unzip this zip file, and upload on an another ftp these unzipped files.

At this time i donwload from FTP1 my files on my computer, i rename this file on FTP1,i unzip (manualy) the file on my computer, and i upload these unziped file on my FT2.

is there anyone can help me for automaticly unzip my file with scriptftp? is it possible?

my scriptftp version is: 3.0

ps: sorry for my english i haven't a good level
Hello,

You can already zip and unzip files using the EXEC command to call an external program that handles zip files. For example, using info-zip:
FTP Script
  1. EXEC("C:\Info-Zip\zip.exe -r MyNewZipFile.zip C:\MySourceFolder")
You can find further info in this help topic:

http://www.scriptftp.com/reference.php?go=topic300
many thanks for your help i'm going to try it !
;)
hi there

i have looked at this topic but i would like some assistance on unzipping the file. the method dezcribed only goes thru how to zip a file. what am i missing here?

thanks for your help