Page 2 of 2

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

Posted: 2020-05-08 16:30
by swbrains
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.

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

Posted: 2020-05-10 15:30
by zardozlogin
so, still no solution for this issue ?
damned

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

Posted: 2020-05-12 06:38
by botg
You can try the latest nightly build.

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

Posted: 2020-05-12 14:19
by swbrains
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.

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

Posted: 2020-07-13 22:48
by tom_brennan
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.

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

Posted: 2021-01-29 09:27
by S3C_MM
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?

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

Posted: 2021-01-31 04:51
by boco
While it won't make a difference to your problem, please update to 3.52.2, for staying supported. Thanks.

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

Posted: 2021-04-10 04:35
by Morepork
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?

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

Posted: 2021-04-12 07:29
by botg
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.