How to Connect to FTP with Notepad++
access_time
hourglass_empty
person_outline

How to Connect to FTP with Notepad++

If you’re a web developer or planning to be one, Notepad++ is an indispensable tool for your workflow. It provides a quicker way to modify code on your server than using an FTP client. As such, in this article, we’ll be showing you how to establish a Notepad++ FTP connection and get remote access to your server.

Getting to Know Notepad++

Notepad++ is an open-source text editing software available for Microsoft Windows users. It has been a top choice for many developers due to its extensive features, including syntax highlighting and folding, text search and replace features, and multi-document view.

Various plugins are available to enhance the software’s functionality, and one of them is NppFTP. The tool allows you to use Notepad++ to connect to your server files via an FTP connection, so you can edit the web files and make changes to your website.

Establishing a Notepad++ FTP Connection

Perform the following steps to enable the FTP function in Notepad++:

Step 1. Getting FTP Details

  1. Download and install Notepad++ on your computer.
  2. Get your FTP details by logging in to your hPanel. Then, scroll down to the Files section and select the FTP Account menu. You’ll see the details under the FTP Access section.
    The FTP details in Hostinger's hPanel

The hostname, port, username, and password will be used to connect your server to Notepad++.

Step 2. Connecting to Notepad++ via FTP

  1. Open Notepad++ and navigate to Plugins -> Plugins Admin…
  2. Once a dialog box has popped up, tick the NppFTP box that is under the Available tab. Press Install and the application will restart.
    Installing NppFTP plugin on Notepad++
  3. Head over to Plugins -> NppFTP -> Show NppFTP Window. A configuration window will appear on the right side of the app.
    This image shows you how to display the settings of NppFTP plugin
  4. Create a new profile to start using the plugin. To do so, click the gear icon in the NppFTP menu bar and select Profile settings.
    This image shows you the menu to create a new NppFTP profile
  5. Select the Add New button, enter the profile name and press OK.
    Creating a new FTP profile to make a Notepad++ FTP connection.
  6. After that, input the FTP details into the Connection tab.
    Inputting FTP details, such as hostname, port, username, password, and remote directory before establishing a Notepad++ FTP connection.
  7. Navigate to the Transfers tab. Then, set the Connection mode as Active and the Transfer mode as ASCII.
    Setting the Connection mode as Active and the Transfer mode as ASCII to make a Notepad++ FTP connection.
  8. Click on the Close button to save your configuration.

    The above settings will ensure that your permissions remain the same after making any changes. Using a different setup may potentially affect your website.

  9. To establish a connection, press the (Dis)connect button (the first one in the NppFTP menu bar), and choose your newly created FTP profile.
    Connecting Notepad++ to your hosting account via an FTP connection
  10. Finally, you will see a folder icon beside the (Dis)connect button. To access a directory, select the Open Directory button, type the Directory Name, and press OK. In the example below, we’re going to open the public_html folder.
    Accessing the public_html folder.

Editing Server Files through Notepad++

After establishing an FTP connection in Notepad++, it’s time to edit the files within your directory. All you need to do is:

  1. Double click on any files that you want to edit.
  2. Once you are done, press the Save button to apply the changes.
    Open the file that you want to edit and save your modification by pressing the Save button.

It’s recommended to create a backup before making any changes to prevent any errors like data loss or corrupted files.

Conclusion

Notepad++ can replace the traditional FTP client. Simply establish a Notepad++ FTP connection, then you can start modifying your server files. Here’s how you can do it:

  1. Download and install Notepad++ on your computer. Then, get your FTP details from your hPanel.
  2. Install the NppFTP plugin and create a new profile.
  3. Connect to your server and access the desired directory.
  4. Select the file you want to edit and save the changes.

Congratulations! You have successfully learned to access and manage your web files via Notepad++.

The Author

Author

Gediminas B. / @gedziuzzz

Gediminas was a passionate content writer and SEO geek at Hostinger. He started his journey at customer support and aims to use his gathered knowledge to create the most epic content the world has ever seen. From WordPress to server management, there's no topic he can't cover! He also likes cats.

Related tutorials

Author

Abuabakaruu Reply

May 01, 2019

This is great documentation.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Become a part of Hostinger now!

More in FTP
What is FTP: FTP Explained for Beginners

Close