When installing and using FileZilla FTP client for the first time, it won't allow you to right-click files and instantly edit them using code editors, like Notepad++.
You want to quickly open and edit your PHP or SQL file but FileZilla won’t let you. In this tutorial, you will learn how to set your FileZilla to open and edit files in Notepad++ code editor.
If you are a beginner website builder, FileZilla is a free desktop program that allows you to transfer files and folders between your desktop and your remote website.
Such programs are most commonly called "FTP clients". You can download FileZilla for Windows, Linux or Mac from the FileZilla project website.
Notepad++ is a code editing program, like Microsoft's text editor Notepad. Only with Notepad++ you have much more useful options to work with the code.
Once you have downloaded and installed FileZilla on your desktop, follow the steps below. For the purpose of this tutorial, I will be working on my Windows PC.
Your task is to tell your FileZilla installation where it can find your Notepad++ files. Firstly, you will learn how to get your Notepad++ path. Then you paste it into your FileZilla. Let's get started.
Step #1. Locate Your Notepad++ Shortcut Path
- On your Windows desktop, right-click the Notepad++ shortcut and then click Properties:
- You will see the Properties screen. Copy the path from the Target box:
You are now ready to set this path in your FileZilla.
Step #2. Set Your Notepad++ Path in FileZilla
- Launch FileZilla from your Windows Start menu:
You will see the FileZilla screen:
- In the left top corner, go to Edit > Settings:
- You will see the Settings screen. Click File Editing > Filetype associations:
You will see the Filetype associations box.
- For PHP files, copy the Notepad++ path into the File associations box with "php" (without double quotes marks) in front of the path
- Uncheck the Inherit system's filetype associations checkbox
- Click OK
- Repeat the last three steps for any other file type you may need to open in FileZilla.
To test the result, connect to your server and right-click a file displayed by FileZilla.
You will see the file opened up in Notepad++ ready for editing:
Congratulations! You can now right click your php files and open them with your Notepad++ code editor!
OSTips Video on FileZilla: