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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling a SFTP with ASP

Status
Not open for further replies.

hamidCA

Programmer
Jul 11, 2008
2
US
Hi there
I am trying to call a bath file which is suppose to open a connection to a SFTP server using Winscp and it can not open the conection.
This is the comand that I have in my batch file:
"C:\Program Files\WinSCP\WinSCP.exe"
-script=C:\Inetpub\
and this is the text2.txt file:
option batch on
option confirm off
option transfer binary
open sftp://cae:Eia$x@ftp.one.com:22
close
exit

It returns erroe. Can you please help me.
Thanks - Hamid
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top