Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to check connectivity of SFTP server, get a return code, & immediately exit with the return

Status
Not open for further replies.

Don Child

Programmer
Apr 4, 2003
63
2
8
US
Hi,

I've seen lots of telnet examples that explain how to use sendkeys to automate a telnet session. But it appears all of them want to do things in the session.

I just want to check that the server is up and running, i.e. has connectivity ; return that connectivity status to VBScript, and make use of the return code.

What's the best way to do that, with native tools? If it's absolutely necessary, I'll use a third party self-contained executable.
 
For anyone who might need this in the future, I settled on using Putty's PSFTP.exe.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top