Topic "problem with winscp.ini"

Author Message
Marc73
[View user's profile]

Joined: 2009-02-18
Posts: 8
hello.

I use WinSCP.INI to hold my preferences and log-in information.

I am absolutely sure of that.

Before installing windows7, I backed up my winSCP.ini

now after installing windows 7RC, I double checked that I did once again choose the non-default option of storage in winscp.ini.

I replace the winscp.ini with my backed up winscp.ini, but none of my log-in information or sites are there !

I opened the winscp.ini with a text editor, and I can see all of my information correctly there. so the file itself is fine. but the winscp isn't reading it.

any help any one ?
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Do you have write access to the WinSCP installation folder?

If you have: When you go to preferences, is INI file or registry selected? If registry, select INI file, close WinSCP, run it again and check what is selected now. If INI file is selected, search your drive for winscp.ini (other than yours). Let me know if you find anything.
Marc73
[View user's profile]

Joined: 2009-02-18
Posts: 8
thank you Prik.

I tried everything I could in the permissions of the folder and its files..... nothing helped.

by accident I right clicked the winscp shortcut and chose Run as administrator...... and it reads winscp.ini correctly!!!!

I hope this takes you closer to a solution.

(I definitely have an administrator account on my pc.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
OK, so Windows 7 probably runs application by default in restricted mode, where you do not have write access to "c:\program files".
_________________
Martin Prikryl
qwavel
[View user's profile]

Joined: 2009-03-10
Posts: 3
Location: Toronto
I'm having a related problem.

One solution would be to always run WinSCP as admin, but I think it would be better to get WinSCP to store my ini file in one of the %appdata% folders (I notice that WinSCP stores its .rnd file there already). It would be nice if this were an option in the preference/storage dialog.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
You can instruct WinSCP where to put INI file with command-line parameter /ini.
_________________
Martin Prikryl
Anon

Guest


Moving the .ini to a directory outside the /program files... worked!

Thanks!
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License