Re: Passwords are not modified correctly in batch task
I also tried usingPasswordPlane
, but nothing was changed since that parameter is not included in site config.
It's
PasswordPlain
.
I also tried usingPasswordPlane
, but nothing was changed since that parameter is not included in site config.
PasswordPlain
.
winscp.exe /batchsettings OPT-BESP/* Password=mypassword
PasswordPlane
, but nothing was changed since that parameter is not included in site config.
1) For all sites, all my passwords are the same and I have them saved. Would this be the command I use to update my saved password to "mypassword" for all sites in a folder called "primary"?
winscp.exe /batchsettings primary/* PasswordPlain=mypassword
2) Where/how do I run this command? It doesn't sound right to run this from Windows command prompt because I would have to login into WinSCP first right?
3) If I want to change it for all sites, would I replace "primary/*" in the above command with just "*"?
4) I read that WinSCP will replace the option "PasswordPlain" with option "Password" on first start up. Is that guaranteed?
PasswordPlain
in WinSCP configuration storage (registry or INI file). When you use WinSCP command-line, the conversion is immediate.
Is there a way I can use the above command with option "Password" instead of "PasswordPlain"? If so how can I do this?
Password
"encryption" uses host and username as a key. So every site will have a different value of Password
.
winscp.exe /batchsettings primary/* PasswordPlain=mypassword
/batchsettings
command-line switch
PasswordPlain
. Discussed here: