By default, FileZilla/FileZilla Pro collects file type associations so it knows which applications you want to use to view or edit various file types.
Use the default text editor
Your operating system will typically have a default text editor configured. FileZilla/FileZilla Pro can check this setting and use the assigned program to edit text files:
- In the main menu, click on Edit > Settings….
- Select File editing from the menu on the left.
- Select Use system’s default editor for text files from the Default editor option group.
- Click on OK.
Configure the path to a custom file editor
Follow these steps to configure a custom file editor. This editor will be used if you select Always use default editor.
- In the main menu, click on Edit > Settings….
- Select File editing from the menu on the left..
- Select Use custom editor from the Default editor option group.
- Enter the path and filename, or click on the Browse… button to browse to the executable file that FileZilla/FileZilla Pro should use to edit or view files, and click on Open.
- Click on OK.
Set filetype association
- In the main menu, click on Edit > Settings….
- Select File editing > Filetype assocations from the menu on the left.
- On a new line enter: The file extension, the properly quoted path to the executable file, and any arguments required. The command and each argument are separated by spaces. A command or argument containing whitespaces or double quotes needs to be enclosed in double quotes. Double quotes inside a command or argument need to be doubled up. In arguments, %f is a placeholder for the file to be opened. Use %% for a literal percent symbol.
For example, to open a .php file in Notepad, enter:
php "C:\Windows\notepad.exe"
- Select File editing from the menu on the left.
- Ensure that Use filetype assocations if available is selected.
- Click on OK.
When no custom association exists yet for a given file type and no default editor has been configured, the first time the user edits a file of that type, FileZilla Pro asks which editor to use. The system association option is available only if a system default editor exists:
Upload files modified locally
To be prompted to upload an edited file, first enable the Watch locally edited files and prompt to upload modifications option. Then, right-click the file you want FileZilla Pro to monitor for changes and select Edit.
FileZilla Pro will then prompt you to upload any modifications.