With the DOS ftp command, you can send the output to a log file and then scan the log file to see if the FTP was successful.How can I verify the FTP was successful using sFTP?
We are running sFTP in a Windows environment from a DOS batch file.
Terry
With the DOS ftp command, you can send the output to a log file and then scan the log file to see if the FTP was successful.How can I verify the FTP was successful using sFTP?
We are running sFTP in a Windows environment from a DOS batch file.
Terry
You can use redirection:
The command above will redirect standard output and standard error to stdout.log and stderr.log respectively.