sFTP successful check

2 posts / 0 new
Last post
itefix
Offline
Last seen: 9 hours 23 min ago
Joined: 01.05.2008 - 21:33
sFTP successful check

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

itefix
Offline
Last seen: 9 hours 23 min ago
Joined: 01.05.2008 - 21:33
Re: sFTP successful check

You can use redirection:

sftp ... 1>stdout.log 2>stderr.log

The command above will redirect standard output and standard error to stdout.log and stderr.log respectively.

Topic locked

Release announcements