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: 33515
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.

S3C_MM
500 Command not understood
Posts: 1
Joined: 2021-01-29 09:18
First name: Matej
Last name: Mulej

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

#21 Post by S3C_MM » 2021-01-29 09:27

Using

Code: Select all

FileZilla Client
----------------

Version:          3.52.0.5

Build information:
  Compiled for:   x86_64-w64-mingw32
  Compiled on:    x86_64-pc-linux-gnu
  Build date:     2021-01-08
  Compiled with:  x86_64-w64-mingw32-gcc (GCC) 8.3-win32 20190406
  Compiler flags:  -O2 -g -Wall -Wextra -pedantic -ffunction-sections -fdata-sections -Wno-cast-function-type

Linked against:
  wxWidgets:      3.0.6
  SQLite:         3.31.1
  GnuTLS:         3.6.15

Operating system:
  Name:           Windows 10 (build 19042), 64-bit edition
  Version:        10.0
  Platform:       64-bit system
  CPU features:   sse sse2 sse3 ssse3 sse4.1 sse4.2 avx avx2 aes pclmulqdq rdrnd bmi bmi2 adx lm
  Settings dir:   C:\Users\mmule\AppData\Roaming\FileZilla\
on Windows 10 x64, the problem still persists.

In my case it does not matter whether I choose

Code: Select all

Use system association
,

Code: Select all

Use default editor for text files
or

Code: Select all

Use custom program ("C:\Portable Aplications\Sublime Text Build 3211 x64\sublime_text.exe")
, it always alerts with warning
Opening failed wrote:The file 'app.css' could not be opened: No program has been associated on your system with this file type.
Lately I started using Total Commander's FTP feature instead, which I always used just for it's Compare Files ability, but for the rest I preffered FileZilla.

Is the issue being fixed?

User avatar
boco
Contributor
Posts: 25539
Joined: 2006-05-01 03:28
Location: Germany

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

#22 Post by boco » 2021-01-31 04:51

While it won't make a difference to your problem, please update to 3.52.2, for staying supported. Thanks.
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

Morepork
500 Command not understood
Posts: 1
Joined: 2021-04-10 02:37
First name: Peter
Last name: Dashwood

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

#23 Post by Morepork » 2021-04-10 04:35

So, here I am using:
FileZilla Client
----------------

Version: 3.53.1

Build information:
Compiled for: x86_64-w64-mingw32
Compiled on: x86_64-pc-linux-gnu
Build date: 2021-03-22
Compiled with: x86_64-w64-mingw32-gcc (GCC) 8.3-win32 20190406
Compiler flags: -O2 -g -Wall -Wextra -pedantic -ffunction-sections -fdata-sections -Wno-cast-function-type

Linked against:
wxWidgets: 3.0.6
SQLite: 3.31.1
GnuTLS: 3.6.15

Operating system:
Name: Windows 10 (build 19042), 64-bit edition
Version: 10.0
Platform: 64-bit system
CPU features: sse sse2 sse3 ssse3 sse4.1 sse4.2 avx avx2 aes pclmulqdq rdrnd bmi bmi2 adx lm
Settings dir: C:\Users\dashw\AppData\Roaming\FileZilla\

And I have EXACTLY the SAME problem reported here by the OP.

I KNOW that there is a text file association on my system (it is to PSPad.exe). I know it is there, because it works if I double click a text file in File Explorer.

Nevertheless, I searched this forum and found a post advising to change the Registry entry for OPEN and EDIT on Text files. When I checked them, they were set to Notepad++ (which is installed on my system but very rarely used.) I changed these registry strings to point to PSPad.exe, but all that happened in Filezilla was that I now get ONLY the last of the previous 3 options: use a custom file... I dutifully set the location for PSPad.exe (including the %1 parameter) and tried again. Got exactly the same message about there being no file association for Text files. I tried it with %f... same result. I removed the parameter altogether... same result. And yet, PSPad knows it is the associated program for text files.

I like the look of Filezilla and plan on using it for maintaining my web server, but If I can't get it to show the contents of a Text file it is really of little use. In fact, the REAL problem here is that the right click menu which gives actions for files, simply doesn't connect in to the File Associations on Win 10 x64, and the interface in Filezilla which purports to allow you to change this, simply doesn't work.

And, judging by the original post, this has not worked since at least version 3.48...

Does anyone have any idea when this is likely to be addressed, please?

User avatar
botg
Site Admin
Posts: 33515
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

#24 Post by botg » 2021-04-12 07:29

There is nothing to fix.

FileZilla uses Windows' AssocQueryString function to look up associations. If it does not return the desired association, it hasn't been set up correctly in the system.

You can always override it with custom associations in FileZilla.

Urist McSFTP
500 Command not understood
Posts: 1
Joined: 2021-05-12 09:02

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

#25 Post by Urist McSFTP » 2021-05-12 09:11

I am running a fresh install of FIlezilla 3.53.1 on Win 8.1.

I also had the same issue but luckily I could resolve it:
The error is triggered by working on a non-english system. Switching filezilla to english, restarting, switching back to my language again fixes the issue for me.

So I dug into the settings (filezilla.xml) and looked for changes. What I found was <Setting name="Always use default editor">1</Setting> causes the error and <Setting name="Always use default editor">0</Setting> works flawlessly.

So please provide working defaults for all languages.

Post Reply