File association not working

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

Moderator: Project members

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

File association not working

#1 Post by swbrains » 2010-07-31 15:25

I am running FZ version 3.3.3 under Win 7.

In Windows Explorer, double-clicking a DOC file opens it in OpenOffice Writer. In FZ, right-click View/Edit opens the file in WordPad.

I went into a CMD window and modified the .DOC association by typing:
assoc .doc=opendocument.WriterDocument.1 (the same as it is for OpenOffice's .odt file extension)
and rebooted.

Windows still opens .DOC files in OpenOffice Writer, but FZ still opens them in WordPad.

In FZ Settings, I have the option selected to "use filetype associations if available".
I do not have a custom association in FZ for the .DOC extension.

I know I can override this action by creating a custom association in FZ to use OO Writer for .DOC files, but I'm wondering if it should follow the operating system action without having to do that, i.e. act as Windows Explorer does when double-clicking a .DOC file.

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

Re: File association not working

#2 Post by boco » 2010-07-31 15:41

What is the action assigned to the true "Open" verb?
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

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

Re: File association not working

#3 Post by swbrains » 2010-07-31 16:23

I'm not sure where to view the true "open" verb setting.

In Control Panel -> Default Programs -> Set Associations, .DOC is set to OpenOffice.org Writer.

In RegEdit under HKEY_CLASSES_ROOT\.doc, there are the following entries:
[HKEY_CLASSES_ROOT\.doc]
@="doc_auto_file"
"Content Type"="application/msword"
[HKEY_CLASSES_ROOT\.doc\OpenWithList]
[HKEY_CLASSES_ROOT\.doc\OpenWithProgIDs]
"OpenOffice.org.Doc"=""
[HKEY_CLASSES_ROOT\.doc\PersistentHandler]
@="{98DE59A0-D175-11CD-A7BD-00006B827D94}"

I don't know where else the default application for .DOC files would be stored.

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

Re: File association not working

#4 Post by botg » 2010-07-31 16:32

I wonder why Microsoft changed filetype association editing in Windows 7, they removed much needed functionality that was there before.

Unfortunately I do not know a solution to this problem.

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

Re: File association not working

#5 Post by boco » 2010-07-31 21:25

I don't know where else the default application for .DOC files would be stored.
HKEY_CLASSES_ROOT\\doc_auto_file\\shell\\open\\command
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

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

Re: File association not working

#6 Post by swbrains » 2010-07-31 21:32

Thanks - changing that setting seems to have worked for FZ. Strange that Windows Explorer and the Desktop take their app associations from some place else. You'd think there'd only be one "default application for opening this type of document" setting for each doctype in Windows! ;-)

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

Re: File association not working

#7 Post by boco » 2010-07-31 21:39

That has changed with Windows Vista - the same version were they did take the advanced file association dialog out and replaced it with that abomination, err, easy dialog.
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

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

Re: File association not working

#8 Post by botg » 2010-08-01 11:13

The correct place to set extensions is now in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\<ext>\UserChoice.

Unfortunately, wxWidgets does not consider this location. I have created a patch that should correct this. See http://trac.wxwidgets.org/ticket/12302

Please try the most recent build from http://filezilla-project.org/nightly.php, it already incorporates the patch.

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

Re: File association not working

#9 Post by swbrains » 2010-08-01 13:40

Thanks -- I'll check it out!

Post Reply