Opened 11 years ago

Closed 11 years ago

Last modified 10 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 11 years ago.
Error Message
HKEY_CLASSES_ROOT(.php).reg (632 bytes ) - added by amp 11 years ago.
HKEY_CLASSES_ROOT(phpfile).reg (1.4 KB ) - added by amp 11 years ago.
8413.patch (875 bytes ) - added by David 11 years ago.

Download all attachments as: .zip

Change History (10)

by amp, 11 years ago

Attachment: Error.gif added

Error Message

comment:1 by David, 11 years ago

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.

in reply to:  1 comment:2 by amp, 11 years ago

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 by David, 11 years ago

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.

by amp, 11 years ago

Attachment: HKEY_CLASSES_ROOT(.php).reg added

in reply to:  3 comment:4 by amp, 11 years ago

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

by David, 11 years ago

Attachment: 8413.patch added

comment:5 by David, 11 years ago

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 by Tim Kosse, 11 years ago

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.