login
so for example if my password is MNOPUJHHsdks+lskiwiij in a script i ustput ftp://user:MNOPUJHHsdks%2Blskiwiij or MNOPUJHHsdks%%2Blskiwiij
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
i have changed my special character as according to the guide, which as the following,
"C:\Program Files (x86)\WinSCP\winscp.com" sftp://root:Nh212%23%24%25@10.1.16.248/ -hostkey="ssh-ed25519 256 9SS0Zzzl1Qyj30dK0k50tu47cnVgD2C1tn6y/x0Ns7A="
Nh212%%23%%24%%25p
Martin, I will not know the special characters in the password beforehand as the utility I am creating can be used by multiple users. I want a generic solution if there is?
Uri.EscapeDataString
method.
I have a password like <test12;:&>
I am using batch file.
I am enclosing the session url in double quotes as below:
open "sam:<test12;:&>@myserver" -hostkey=*
You have to URL-encode the semicolon:
https://winscp.net/eng/docs/session_url
I have a password like <test12;:&>
I am using batch file.
I am enclosing the session url in double quotes as below:
open "sam:<test12;:&>@myserver" -hostkey=*
If you are running WinSCP from a batch file, then yes. You have not mentioned that.
Ok, sorry. Anyway, did it help?
If you are running WinSCP from a batch file, then yes. You have not mentioned that.
Turn on loggign both in scripting and GUI and compare the logs to see if you are missing something.
Please read documentation:
https://winscp.net/eng/docs/session_url
If that does not help, come back.