file name escaping for windows?

Advertisement

vlad
Guest

file name escaping for windows?

Hi,

tried to edit file 'ifcfg-eth0:0' on remote server by pressing F4, and it didn't work (I guess because windows didn't like the colon in the file name). Perhaps some sort of workaround can be established in the code?

p.s. Martin, I wonder is there a new version of FAR plugin coming out shortly? if "yes" - what are the features we can expect for?

thanks again for your work! :)

-- vlad

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,266
Location:
Prague, Czechia

Re: file name escaping for windows?

vlad wrote:

tried to edit file 'ifcfg-eth0:0' on remote server by pressing F4, and it didn't work (I guess because windows didn't like the colon in the file name). Perhaps some sort of workaround can be established in the code?
In WinSCP plugin you cannot edit file with name not allowed on Windows. I haven't found a way how to solve that. The reason is that FAR expects the temporary local filename to be the same as the one shown in file panel. And this cannot be fulfilled. Note that WinSCP application allows editing such files.

p.s. Martin, I wonder is there a new version of FAR plugin coming out shortly? if "yes" - what are the features we can expect for?
I do not know yet. Do you miss some specific functionality?
_________________
Martin Prikryl

Reply with quote

vlad_
Guest

features....

Martin:

thanks for the reply.

the only features I'm really missing are notorious keep-alive-while-in-editor and possibility to restore connection with chdir to the path on remote server where I was right before connection was lost. I asked about both here on the forum, but you said that due to the bugs in FAR API it's not possible to implement. Btw, did you try with one of the recent builds of FAR? https://www.farmanager.com/

minor thing that (imho) would not hurt to do is adjust options names and their hotkeys in copy/move dialogs to the same as FAR uses in standard copy dialog - it's kinda irritanting to have different names and hotkeys for very similar actions in WinSCP plugin.

Other than that, it's a great plugin that saves me and several buddies I work with a lot of time - thank you very much! :)

--vlad

Reply with quote

Guest

Re: features....

vlad wrote:


minor thing that (imho) would not hurt to do is adjust options names and their hotkeys in copy/move dialogs to the same as FAR uses in standard copy dialog - it's kinda irritanting to have different names and hotkeys for very similar actions in WinSCP plugin.

I'm sorry if I wasn't clear enough - I meant "option" WinSCP offers to choose from on the confirmation dialog, when file is already exists on the destination panel.

Winscp has (I marked hotkeys with caps):
Yes | alwaYs | No | cancel | aPpend | neWer only | nO (all) | yes (aLl)

Compare to the standard FAR's dialog:
Overwrite | All | Skip | sKip all | aPpend | Cancel

I think using FAR's names would be logican and make life little easier ;)

-- vlad

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
29,266
Location:
Prague, Czechia

Re: features....

vlad wrote:

Btw, did you try with one of the recent builds of FAR? https://www.farmanager.com/
The bugs are still present.

minor thing that (imho) would not hurt to do is adjust options names and their hotkeys in copy/move dialogs to the same as FAR uses in standard copy dialog - it's kinda irritanting to have different names and hotkeys for very similar actions in WinSCP plugin.
Good idea. I will se what I can do about that.

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum