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

martin

Re: Thanks for the assistance

JDJ wrote:

It would be helpful if this could be documented somewhere!

What do you mean? To document fact that you cannot have a configuration file in a folder, where you do not have a write permissions to?
JDJ

Thanks for the assistance

I've just had an identical problem with a newly installed copy of WinSCP on Windows 8.
Switching from .INI config to the Registry worked fine after running the program as Administrator.

It would be helpful if this could be documented somewhere!
martin

Re: Configuration updates not saving after importing winscp.ini

itsgood wrote:

Thanks, Martin. I tried Beta 5.2 and that solved the problem. I have full admin rights to the folder, and I can edit the .ini file so it wasn't a write access issue.

Right, but as you are using Windows 7, WinSCP runs probably in unpriviledged mode by default, no matter that your account is an admin. You may need to run it explicitly "as admin" to grant it access to system folders.
itsgood

Re: Configuration updates not saving after importing winscp.ini

Thanks, Martin. I tried Beta 5.2 and that solved the problem. I have full admin rights to the folder, and I can edit the .ini file so it wasn't a write access issue. Regardless, the issue is fixed with 5.2. Thanks!! Keep up the great work with the product.

martin wrote:

You probably do not have a write access to C:\Program Files (x86)\WinSCP\.
It would help, if you post a complete error, not just "error 5". But I suppose that WinSCP is able to copy configuration from INI file to registry, but needs to delete the INI file afterwards, what obviously fails (no permissions).

Some solutions:
- Delete the INI yourself (make back up). This would work providing the import to registry succeeded.
- Run WinSCP as administrator for the INI to registry switch.
- Use WinSCP 5.2 beta that allows importing configuration from INI file located anywhere:
https://winscp.net/eng/docs/config#import
martin

Re: Configuration updates not saving after importing winscp.ini

You probably do not have a write access to C:\Program Files (x86)\WinSCP\.
It would help, if you post a complete error, not just "error 5". But I suppose that WinSCP is able to copy configuration from INI file to registry, but needs to delete the INI file afterwards, what obviously fails (no permissions).

Some solutions:
- Delete the INI yourself (make back up). This would work providing the import to registry succeeded.
- Run WinSCP as administrator for the INI to registry switch.
- Use WinSCP 5.2 beta that allows importing configuration from INI file located anywhere:
https://winscp.net/eng/docs/config#import
itsgood

Configuration updates not saving after importing winscp.ini

Log debug 1 shows that my .ini file is saved at:
Configuration: C:\Program Files (x86)\WinSCP\WinSCP.ini

That file hasn't been updated since I imported the winscp.ini file from another computer. I can't switch back to the registry as my primary configuration (error 5).

How do I have WinSCP remember configuration changes that I make, post import?

Using WinSCP Version 5.1.4 (Build 3020) (OS 6.1.7601 Service Pack 1)