Post a reply

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

hrvoj3e

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.
martin

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

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.
hrvoj3e

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

Hey martin,

I am using VS Code atm. Maybe it is not an editor issue but plugin issue.
Please see:
https://github.com/felixfbecker/php-language-server/issues/587

Will you consider adding this setting for the sake of "nicer" paths on disk? :)

martin wrote:

What "some editors"?
martin

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

What "some editors"?
hrvoj3e

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