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.
Thanks!
Thanks!
Quite simple, using the EXIT command:
FTP Script
- # returns 5 to the program calling ScriptFTP
liked Script FTP? Try our other product Email Parser