ftp automation


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.
Need help writing a script? Have any question about ScriptFTP?
I'm calling Scriptftp (command line) from within a powershell script. I know that Scriptftp has error handling mechanisms for it's own scripts, but if a script fails is there any way to pass the error code back to the calling program. I know that I can do this by logging the results of the script and then parsing the log, but I wondered if there was a more elegant solution.

Quite simple, using the EXIT command:
FTP Script
  1. # returns 5 to the program calling ScriptFTP
  2. EXIT(5)