Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#8413 closed Patch (fixed)

File type association does not work

Reported by: amp Owned by:
Priority: normal Component: FileZilla Client
Keywords: File type association Cc:
Component version: Operating system type: Windows
Operating system version: 6.1.7601

Description

Although in windows, PHP files are associated correctly with Dreamweaver, when open/edit or view/edit are clicked in local site and remote site browsers respectively, the file association does not work and an error is displayed. (FileZilla V. 3.6.0.2_win32)

Attachments (4)

Error.gif (30.6 KB) - added by amp 7 years ago.
Error Message
HKEY_CLASSES_ROOT(.php).reg (632 bytes) - added by amp 7 years ago.
HKEY_CLASSES_ROOT(phpfile).reg (1.4 KB) - added by amp 7 years ago.
8413.patch (875 bytes) - added by David 7 years ago.

Download all attachments as: .zip

Change History (10)

Changed 7 years ago by amp

Attachment: Error.gif added

Error Message

comment:1 Changed 7 years ago by David

I'm not able to reproduce the error message you are seeing. Would it be possible for you to export the contents of register keys "HKEY_CURRENT_USER\Software\Classes" and "HKEY_LOCAL_MACHINE\SOFTWARE\Classes" as .reg files and attach them to this ticket?

These keys contains settings for file associations and will hopefully help me reproduce the problem.

comment:2 in reply to:  1 Changed 7 years ago by amp

Unfortunately, the size of exported files for those paths are much more than 256 KB uploading limit. Even compression of the files didn't help. If it is possible indicate deeper paths in the registry.

comment:3 Changed 7 years ago by David

Please try the following instructions which will limit the amount of data:

  1. Navigate to HKEY_CLASSES_ROOT within the registry
  2. Look for a key called ".php"
  3. Export this key.
  4. Note the data of the "Default" value for this key. For me this is "php_auto_file" but this will probably not be the same for you.
  5. There should be a key present with the same name as the data of the value found in step 4 ("php_auto_file" in my example). Locate and export this key as well.

Changed 7 years ago by amp

Attachment: HKEY_CLASSES_ROOT(.php).reg added

Changed 7 years ago by amp

comment:4 in reply to:  3 Changed 7 years ago by amp

Thank you for indicating more detailed paths. I uploaded the files.

Changed 7 years ago by David

Attachment: 8413.patch added

comment:5 Changed 7 years ago by David

Type: Bug reportPatch

amp: Thank you for attaching the files. It allowed me to reproduce the problem.

Attached is a patch which solves the problem for me.

comment:6 Changed 7 years ago by Tim Kosse

Resolution: fixed
Status: newclosed

Thanks for the patch gronsaken. I've opted for a different solution that better handles paths containing # and commas.

Note: See TracTickets for help on using tickets.