Topic "Subject: password is changed when connecting via script"

Author Message
matrixwang
[View user's profile]

Joined: 2016-08-26
Posts: 1
I have a client to connect a sftp server. the password is complex. in the password there are some special character / ,+
with GUI, I could login in. but with the script. each it report access denied. I find the character / + is missing in the log file.

Here is the command line:
winscp.com /script=test.txt

Here is the script:
open sftp://user:pass@site/ -timeout=60
option transfer binary
close
exit
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Please read
https://winscp.net/eng/docs/session_url#special
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License