Filezilla Client 3.48.0 - Use System Association for opening file

Need help with FileZilla Client? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Message
Author
swbrains
500 Syntax error
Posts: 13
Joined: 2010-07-31 15:12

Re: Filezilla Client 3.48.0 - Use System Association for opening file

#16 Post by swbrains » 2020-05-08 16:30

botg wrote:
2020-05-08 07:17
The system associations are obtained straight through Windows' official AssocQueryString function. If no system association is shown, either Windows itself is confused (there are for historic reasons so many different places to set associations, it wouldn't surprise me at all if Explorer would do it some old-fashioned way) or the system association itself isn't correct, e.g. it may not be quoted correctly.
Oddly, though, this worked perfectly in the 3.47, even without me specifying overrides in the FZ file type associations list.

In 3.48.0, when I try to edit a file not in the file type association list and the association dialog pops up asking how I want to edit it, making a selection causes a re-write of the FZ file type associations list without any carriage returns, so all associations in the list are concatenated, causing issues for all future file edit requests.

FYI: Interesting thing I just noticed in v3.48.0 with no FZ file type association overrides specified, if I double click on an item (.pl file) in the local pane (which is set to perform the Edit action) or if I right click on an item in the local pane and select Edit, it opens in Windows Notepad even though I have my Perl editor selected in the Windows Default Apps setup for .txt and .pl files. But if I right click on an item (.pl file) in the local pane and select *Open*, it opens it in my Perl editor properly.

zardozlogin
500 Command not understood
Posts: 2
Joined: 2020-05-08 14:42

Re: Filezilla Client 3.48.0 - Use System Association for opening file

#17 Post by zardozlogin » 2020-05-10 15:30

so, still no solution for this issue ?
damned

User avatar
botg
Site Admin
Posts: 33041
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: Filezilla Client 3.48.0 - Use System Association for opening file

#18 Post by botg » 2020-05-12 06:38

You can try the latest nightly build.

swbrains
500 Syntax error
Posts: 13
Joined: 2010-07-31 15:12

Re: Filezilla Client 3.48.0 - Use System Association for opening file

#19 Post by swbrains » 2020-05-12 14:19

I just tried the 5-12-2020 nightly build, but no change. Double-clicking or selecting Edit for a local file causes it to open in Windows Notepad, even though selecting "Open" for
a local file opens the file in my assigned editor app for this file type in Windows. FZ still shows the correct editor app's icon for this file type in the local list, but uses Notepad to edit them.

It would be a nice workaround if the FZ settings (Interface->File Lists) "Double-click action" had an option for the "Open" action, since "Open" works as expected with the default file type application.

tom_brennan
500 Command not understood
Posts: 2
Joined: 2020-07-13 22:08
First name: Tom
Last name: Brennan

Re: Filezilla Client 3.48.0 - Use System Association for opening file

#20 Post by tom_brennan » 2020-07-13 22:48

See also this thread - viewtopic.php?f=1&t=52863

The problem is that Windows has two different associations for opening files - Open, and Edit. You can see these usually as the top two options when you right-click on a (text) file.

The Open settings are the default - what you get when you double-click on a file. You can change the Open settings (not as easily as before) via the Control Panel -> Default Programs.

There appears to be no way for users to change the Edit settings without editing the Registry.

So if you want to change, for example, the default text editor, the key you'll need to edit is:
Computer\HKEY_CLASSES_ROOT\SystemFileAssociations\text\shell\edit\command

And the value will be
"C:\Program Files (x86)\Notepad++\notepad++.exe" %1
- replace with the path to your favourite editor

Hope this helps some.

Post Reply