Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Bob Babcock
June 23, 2008, 1:20 am
rate this thread
option (commands in a file), errors seem to terminate psftp without setting
the errorlevel. Specifically, a cd command to a non-existent directory
fails (as it should), an error message is displayed and the process quits.
Users running the batch file don't notice the error message, and with no
errorlevel, the batch file doesn't know it should do something to attract
attention. The return code is zero even if the file of commands is
A bad password does yield an error return of 1, as does psftp -h.
Am I missing anything?
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum