Not able to connect with SFTP from DOS using V3.7.0
Hi Team,
I'm using winscp 3.7.0 (build 254) and trying to create a batch file to download files from SFTP location. my code works fine with WINSCP 4.0.6, but i have to build for 3.7.0 :cry:
below is my code
"C:\Program Files\WinSCP3\WinSCP3.exe" /console /command "option batch abort" "option confirm off" "open sftp://username:password@ipaddr" "put myfile /abc/def/" "exit" /log
this code works perfectly with winscp 4.0.6 (build 358), but while trying with winscp 3.7.0 build 254, winscp prompts to enter user name :?
if i use the open command inside winscp console, i'm able to connect without issues. problem is only when i connect from DOS prompt
Note: my password contains @ symbol in it
i'm using Windows 7
should i have to use modified command for older versions of winscp
please help
I'm using winscp 3.7.0 (build 254) and trying to create a batch file to download files from SFTP location. my code works fine with WINSCP 4.0.6, but i have to build for 3.7.0 :cry:
below is my code
"C:\Program Files\WinSCP3\WinSCP3.exe" /console /command "option batch abort" "option confirm off" "open sftp://username:password@ipaddr" "put myfile /abc/def/" "exit" /log
this code works perfectly with winscp 4.0.6 (build 358), but while trying with winscp 3.7.0 build 254, winscp prompts to enter user name :?
if i use the open command inside winscp console, i'm able to connect without issues. problem is only when i connect from DOS prompt
Note: my password contains @ symbol in it
i'm using Windows 7
should i have to use modified command for older versions of winscp
please help