winscp.cmd with script and log file parameter - if script file is missing, fails to log failure
When we issue the command pasted below:-
Console Output
Please log to both the console and indicated log file.
Failing to log into the log file makes it a bit more difficult to track backend (batch) jobs; that failed due to incorrectly specified script files.
"C:\Program Files (x86)\WinSCP\Winscp.com" -script="hello_missing.scp" /loglevel="*" /log="SFTP.log"
Unfortunately, because the file is missing the log file is not created.Cannot open file "C:\tmp\hello_missing.scp". The system cannot find the file specified
Please log to both the console and indicated log file.
Failing to log into the log file makes it a bit more difficult to track backend (batch) jobs; that failed due to incorrectly specified script files.