Rename session entry

Advertisement

Guest

Rename session entry

I would like to rename a session (right click and choose rename to allow me to edit the entry). I'm surprised there isn't an option to do this already.

I tried loading a session, then saving it as a new name (using 3.8.0 Build 312 (latest at the time)). I received an error message: Unable to write to C:\Program Files\Winscp3\winscp3.ini. Since I have seen this error message before but it did not seem to affect things, I retried. The second time, I received an error that the new session name already existed and did I wish to overwrite it. When I said Yes, I received the error writing to WINSCP3.ini again. A simple rename would be much better, provided that it does not have the same error message.

Reply with quote

Advertisement

Silvia
Joined:
Posts:
1
Location:
Germany

Re: Rename

aspotting wrote:

If your try it in a edit option it must work.

correct, me too

if you try a older version guest, work it?

Reply with quote

Guest
Guest

Silvia: What kind of problem do you have?

As described in the original post but let me describe what I have learned since then. I noticed that another person mentioned this problem in July 2006; I am the original poster.

I currently use ver 3.92 (Build 330) as of August 2006 (currently the latest).

I name saved sessions based on the server they connect to and which set of files (locally) they are associated with. There are times when I have decided to rename a session but had a failure. I found the problem is actually an issue with updating the WinSCP3.ini file in general when there are a lot of entries already in it. I have 65 sessions saved. If I try to add one, I get the error, "Unable to update C:\Program Files\WinSCP\WinSCP3.ini"

If I delete some entries, then I can add a new session. Sometimes deleting one entry is not enough so the problem may be size related. The problem seems to lie in the limit to the number of sessions that can be saved in WinSCP3.ini or its total size. My WinSCP3.ini file is around 65k, which implies to me that about 1k is used per entry. Is it the total size or the number of entries? Either way, if you could allow more sessions to be saved, then I can again test the rename issue. The problem might be solved then. This may cure other issues that are session related. I have noticed that this size/number entries problem has not been mentioned so I expect that most people do not have as many session entries as I have.

I do know that the part where a new session is added but had a failure, then another attempt shows that the session already exists is still there when it should not be obviously. That issue could be that the session list is not refreshed, or some variable has been set to indicate a session exists after adding when in fact, it never actually got added.

Reply with quote

Advertisement

martin
Site Admin
martin avatar

Guest wrote:

My WinSCP3.ini file is around 65k, which implies to me that about 1k is used per entry.
What version of Windows do you use? I believe that older versions had limit of 64k for INI files.

Reply with quote

Advertisement

You can post new topics in this forum