Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#10628 closed Bug report (worksforme)

When Click to "View/Edit" a *.js file runs instead of edits

Reported by: David Torrens Owned by:
Priority: normal Component: FileZilla Client
Keywords: JavaScript, Run not Edit Cc:
Component version: 3.13.0 Operating system type: Windows
Operating system version: Windows 10

Description

I am managing a joomla website.

A Template *.js file needed to be edited.

I selected the file, right clicked, selected "View/Edit".

Instead of editing the file it was downloaded and then Run.

Windows 10. Filezilla 3.13.0.

(I then downloaded the file and could edit it OK with a right click and edit using Windows 10 File Explorer)

Change History (2)

comment:1 by Tim Kosse, 5 years ago

Resolution: worksforme
Status: newclosed

Make sure the "Open" verb is associated with the editor of your choice.

If you are unwilling to change your system associations you can also set a custom association in FileZilla's settings.

comment:2 by David Torrens, 5 years ago

OK thanks that worked.

I added :

js "C:\WINDOWS\system32\NOTEPAD.EXE"

at Edit / Settings / File Editing / File Associations.

Still does seem odd that this is the only file type that I have needed to do this for.

I was concerned since this is a script file that unexpectedly ran on my computer when it should have gone to notepad for editing.

Note: See TracTickets for help on using tickets.