Setting for saving session names to disk ("forward slash" ("/"))

Advertisement

hrvoj3e
Joined:
Posts:
6

Setting for saving session names to disk ("forward slash" ("/"))

When using "Append session name to temporary path" some editors have problems with char "forward slash" ("/") which is used as delimiter for folder and session.

Preferences > Storage
[x] Use temporary directory of system : D:\code\winscp\
[x] Append session name to temporary path
[x] Append remote path to temporary path
[x] Keep temporary copies of remote files in deterministic paths
[ ] Cleanup obsolete temporary directories on startup
If I have sessions
MyServer
  |- user1
  |- user2
If I open a file for editing in a custom editor with setting as above mentioned I get
D:\code\winscp\MyServer%2Fuser1\var\www\some\path\some.file.css

Some editors have problems with "%2F" and are trying to open wrong path:
D:\code\winscp\MyServer\user1\var\www\some\path\some.file.css

It would be useful to me to have a setting which defines this delimiter "forward slash" ("/").

For example, logging uses delimiter "-" for session names D:\code\winscp_log\MyServer-user1.log

Reply with quote

Advertisement

hrvoj3e
Joined:
Posts:
6

Re: Setting for saving session names to disk ("forward slash" ("/"))

The version you sent me works great!
Thank you Martin :)

martin wrote:

This request has been added to the tracker:
https://winscp.net/tracker/1608

I'm sending you an email with a development version of WinSCP to the address you have used to register on this forum.

Reply with quote

Advertisement

You can post new topics in this forum