That was it. Thanks so much!
WinSCP defaults to SFTP protocol. Maybe you are using different one in the GUI? Compare log files from the GUI and script to see what the difference is.
Hi, I am just trying WinSCP. I have a window 2003 server standard edition service pack 2. WinSCP version 4.3.4. The GUI version works just fine. However I am having trouble to get scripting version working. Here is my script saved in a txt file.
option batch on
option confirm off
open realusername@localhost
winscp.exe /console /script=example.txt
I got the "network error:connection failed" error.
Any help would appreciate.