winscp does not start from commandline

Advertisement

gst
Guest

winscp does not start from commandline

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.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,266
Location:
Prague, Czechia

Re: winscp does not start from commandline

You need to use %25 instead of simple %
_________________
Martin Prikryl

Reply with quote

gst
Guest

Re: winscp does not start from commandline

martin 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

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
29,266
Location:
Prague, Czechia

Re: winscp does not start from commandline

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

Reply with quote

GST
Guest

Re: winscp does not start from commandline

martin 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?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,266
Location:
Prague, Czechia

Re: winscp does not start from commandline

GST wrote:

Is there a posibility that Winscp escapes the characters?
What's the point?
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum