Topic "winscp does not start from commandline"

Author Message
gst

Guest


if i start winscp3.exe (Version 3.8.2) in the follow way
winscp3.exe user:password@10.10.10.10
and the password contains a "%" than winscp doesnt start.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
You need to use %25 instead of simple %
_________________
Martin Prikryl
gst

Guest


prikryl wrote:
You need to use %25 instead of simple %


hey
there are more and more characters which can not used in commandline in the field password.
why can i not use "%" or "+" in field password is this a problem with programming?
can you create a version we can use all characters.
thanks
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
gst wrote:
there are more and more characters which can not used in commandline in the field password.
why can i not use "%" or "+" in field password is this a problem with programming?
can you create a version we can use all characters.
thanks

The reason is that WinSCP treats the command line parameter as an URL address. So characters that need to be escaped in an URL needs to be escaped in command-line.
_________________
Martin Prikryl
GST

Guest


prikryl wrote:
The reason is that WinSCP treats the command line parameter as an URL address. So characters that need to be escaped in an URL needs to be escaped in command-line.

Is there a posibility that Winscp escapes the characters?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
GST wrote:
Is there a posibility that Winscp escapes the characters?

What's the point?
_________________
Martin Prikryl
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