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: 33357
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: 25441
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 ###

Post Reply