Not able to connect with SFTP from DOS using V3.7.0

Advertisement

Prabu
Joined:
Posts:
2
Location:
India

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

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,449
Location:
Prague, Czechia

Re: Not able to connect with SFTP from DOS using V3.7.0

First, we do not support such ancient versions of WinSCP anymore (that includes 4.0.6).
Anyway, I'm afraid there's no way to use password with @ using WinSCP 3.7.

Reply with quote

Guest

Re: Not able to connect with SFTP from DOS using V3.7.0

martin wrote:

First, we do not support such ancient versions of WinSCP anymore (that includes 4.0.6).
Anyway, I'm afraid there's no way to use password with @ using WinSCP 3.7.

prikryl, thanks for the response. from which version onwards, winscp accepts @ sign in password?

Reply with quote

martin
Site Admin
martin avatar

Re: Reply

Prabu wrote:

prikryl, thanks for the response. from which version onwards, winscp accepts @ sign in password?
Please use the latest available.

Reply with quote

Advertisement

You can post new topics in this forum