Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Adambean

Hello and welcome to nearly 11 years ago. :)
Thanks for the update though, that's definitely a better default position for the INI file.
Adambean

martin wrote:

So use the /ini switch.

Didn't know about /ini
"C:\Program Files (x86)\WinSCP\WinSCP.exe" /ini="%AppData%\WinSCP\WinSCP.ini"

^ works brilliant, thanks.

Also saved passwords appear to re-load from the INI when using a master password (5.0.1 build 1449). Thanks for this fix :)
martin

Adambean wrote:

This won't be useful for multi-user computers.. I choose INI so it can be backed up, and sync'd to my file server so that I can get it immediately on my other computers.

So use the /ini switch.

Could we at least have the INI in %AppDir%\WinSCP if the process isn't running with UAC elevation?

INI file is target on portable use of WinSCP. E.g. from memory stick.
Adambean

martin wrote:

That means that you need to make sure you are running WinSCP from location where you have write permissions. Or that you need to specify alternative location for an INI file using /ini switch. There's actualy nothing wrong on the article you refer to. But some note about the change might be worth it :)

This won't be useful for multi-user computers.. I choose INI so it can be backed up, and sync'd to my file server so that I can get it immediately on my other computers.

Could we at least have the INI in %AppDir%\WinSCP if the process isn't running with UAC elevation?
NicoHaase

What about the footnote? Version 4.x used the virtualstore without any other settings, and this was removed according to bug 519. So, I think, this should be removed from the wiki ;)
martin

That means that you need to make sure you are running WinSCP from location where you have write permissions. Or that you need to specify alternative location for an INI file using /ini switch. There's actually nothing wrong on the article you refer to. But some note about the change might be worth it :)
NicoHaase

martin wrote:

Note that this won't work in 5.0.1 anymore, as this version disables file virtualization:
https://winscp.net/tracker/719
So, what does that mean for users who used winscp.ini in prior versions? To which location should I move the file? And please change the infopage about configuration to the new settings :)
martin

Adambean wrote:

Probably useless now but the OS is Windows 7 Professional x64, so the INI file for me is at %LocalAppData%\VirtualStore\Program Files (x86)\WinSCP

Note that this won't work in 5.0.1 anymore, as this version disables file virtualization:
https://winscp.net/tracker/719

I also see there are quite a few unreleased changes. Do you offer a latest build download?

No. But new version will be release soon.
Adambean

Nice, I see that it has already been resolved.

Probably useless now but the OS is Windows 7 Professional x64, so the INI file for me is at %LocalAppData%\VirtualStore\Program Files (x86)\WinSCP

I also see there are quite a few unreleased changes. Do you offer a latest build download?
martin

Re: Passwords do not get stored in WinSCP 5

Thanks for you post. This bug has been added to the tracker:
https://winscp.net/tracker/727
Adambean

Passwords do not get stored in WinSCP 5

I'm having problems with stored passwords in WinSCP 5.0.0 (build 1431).

I use a master password, enter a password in the session form, ensure "Save password (protected by master password)" is ticked when saving the session. It prompts me for the master password and saves the session.

I can now connect without it asking me for the session (or master?) password. However after restarting WinSCP all saved passwords are lost.

Having checked the INI file (I use this over registry for roaming ability) the password tag on all the sessions is blank.