How to Connect to your Server via FTP with Notepad++

One way to edit files on your server is to use Notepad++. Notepad++ has a great FTP capability that allows you to edit your files directly on the server. The following will explain the steps on how to edit your files using Notepad++.

Note! Notepad++ is only available on Windows.

FTP configuration with Notepad++

  1. Open NotePad++.
  2. Go to Plugins > NppFTP > Show NppFTP Window in the menu at the top of your Notepad++.
    Go to plugins Notepad++

  3. In the NppFTP Window, click the gear and select Profile Settings.
    Profile settings Notepad++

  4. Click Add new.
    Add new profile Notepad++

  5. On the “Adding profile” pop up, name the FTP Profile Connection.
    Adding profile Notepad++

    Click OK.

  6. Enter your FTP credentials in the Connection tab. For more information on your FTP connection credentials, please see our Getting Started Guide: FTP.
    Connection settings Notepad++

    When you are done adding the FTP information click close.

  7. Click the (Dis)Connect icon in the NppFTP window.
    Select your new Profile.

    Select your profile Notepad++

    Your Notepad++ should display your FTP connection log and details at the bottom and the files on your server in the NppFTP window.
    FTP connection in Notepad++

Congratulations, you learned how to connect to your server using Notepad++. For more information on FTP, please see our Getting Started Guide: FTP.

67 thoughts on “How to Connect to your Server via FTP with Notepad++

  1. I was trying to connect using sftp port 22 but also 21 for my website but somehow not working.

    1. Hi Patrick, this is just a guess, but there’s a common problem people run into in this situation and I wanted to offer the suggestion in case it helped.

      When you create an FTP account in cPanel, the default account directly isn’t anything useful like public_html or a site directory, but a specific directory for that new account with nothing in it. Then, when you go to use that account, you can’t actually access anything useful because the new account does not have permission to do so.

      This is a built-in cPanel behavior we can’t change, but if you were to create a new account (or recreate the old one) while making sure the new account has permissions to access the right directory, hopefully that will help.

  2. I had same problem.  Ended up using rather than for the hostname.  Replace domainsite with your site addressname.

  3. Hi and Good Day,

    Ive mad a website using notepad++. I wonder if I upload my file to web server, is it possible to search my website by using I want to publish my website so that everyone can search for it.

    Thank you for your time and looking forward to hearing from you soon.




    1. Hello Sarah,

      It doesn’t really matter how you created your website when it comes to making sure that it can be searched in search engines. Check out this article on how to get your site into search engines.

      If you have any further questions, please let us know.

      Kindest regards,
      Arnel C.

  4. hi there i have a problem on my notepad++ NppFTP.

    im already connected to my server but when i click the file on my directory to edit the problem is there.

    Failed to create directory C:\Program Files (x86)\Notepad++\http:\\

    Download of /index.php failed


    what would be the solution for this? anyone can help? im using windows 10


    thanks in advance..

    1. Hello Kram,

      The Notepad++ program is a third party program. It would be better if you contacted their support people for the issue. Here’s a link to their community support location.

      If you have any further questions or comments, please let us know.

      Arnel C.

  5. Hi, Guys, I was never able to login with notepad++ ftp. Only filezilla and winscp. 

    But I was finally able to login to one account. I changed under authentication, where it said try password authentication and removed the checkmark. AND THEN FOR SOME REASON IT FINALLY WORKED! I guess it’s like my mom always used to say “Don’t try, just DO! you Stupid Idiot!” So hopefully this helps someone out. 

  6. I think your problem is that you use FTP instead of SFTP.

    When you use SFTP it will secure your file transfer and therefore many new file transfer connections are SFTP.So if you have to connect through port 22 then exactly you have to change your plugin from FTP to SFTP.You can choose it.

  7. For some reason my NppFTP frame is in a completely separate window instead of a frame within the main window. How do I change this?

    1. Tom, I’m sorry to hear that you’ve had this issue, but I’m happy to help! When we tested this with the latest versions of NotePad++, and NPP-FTP we were unable to find anyway to open NPP-FTP in a new window. You may wish to contact the NotePad++ community by going to

  8. Hello!
    I have a visually impared co-worker. Using a mouse to click on links is not an option. We found the way to focus the NppFTP window via the menus and also a way to add a shortcut to focus the window but what keyboard combination should be used to activate the (dis)connect feature?

    1. Hello Dennis,

      Sorry for the problem with NotePad++ FTP option – mainly finding a way to disconnect it without using a mouse click. I looked around for solutions myself and didn’t really see anything. I would recommend contacting the good people of the Notepad++ team. They are about providing solutions for the community, so I’m sure that they can provide you with the assistance that you require.

      If you have any further questions or comments, please let us know.

      Arnel C.

    1. Hello Sakith,

      We would need a little information in order to troubleshoot the issue. Please provide us a domain name, error messages and steps to duplicate issue so that we may investigate the issue.

      If you have any further questions or comments, please let us know.

      Arnel C.

  9. I have downloaded the zip file of notepad++ and after running it there is no option displaying for connecting ftp account also there is no option to see  Plugins > NppFTP > Show NppFTP Window 

    Can anyone solve this and please mail me solution

  10. Not able to connect to the server. I am getting below error.


    [NppFTP] Everything initialized

    -> TYPE I  


    -> Quit  

    Unable to connect


    1. I would check your credentials and be sure you are using the correct username and password. Your error message is still pretty generic so there’s not much to troubleshoot with.

  11. Thanks for article, it saved lot of time after configiring with Notepad++

    As we connected to the server One more question is there any way to run the script and check the output (Does it make sense at all) with out going to command promt?

    1. Hello Soma,

      To my knowledge, you would need to check the output against the command prompt. There are code checker tools out there, but if you’re trying to verify the output, then you need to step through the code.

      If you have any further questions or comments, please let us know.

      Arnel C.

  12. Hello,

    On clicking the Plugins menu, the only options I have are:

    – MIME tools

    – Converter

    – NppExport

    – Plugin Manager

    I’ve check each of the drop down options and still can’t find NppFTP anywhere.

    I am currently using Notepad++ v6.8.5

    Please help me solve this issue as soon as possible.

    Thank you!

    1. Hello Rosemary,

      It appears the NPPFTP plugin is not installed by default in 6.8.5. You can install it by going to Plugins -> Plugin Manager ->Show Plugin Manager From there, scroll down until you locate NPPFTP in the “Available” tab and click the checkbox. Then click the “Install” button to install it.

      Once that is done, the instructions above will be correct.

      Kindest Regards,
      Scott M

  13. i can’t connect my application from android studio i set everthing then it’s said:Unexpected response from the server,please can someone help me?

    1. Hello Eric,

      We need a little more information in order to troubleshoot the problem. Can you please provide us the settings you’re trying to use? Provide us this data and we can try to provide some assistance.

      If you have any further questions or comments, please let us know.

      Arnel C.

  14. This has been a life saver! to be able to connect to server through notepad and edit files is fantastic. Thanks a million!

  15. Is there a way to set a keyboard shortcut or record a macro for the upload function?  I love the FTP option but it would save time if I didn’t have to move my mouse over to click it.

    1. Hello Greg,

      Using the Macro button may allow you to record a series of events that allows you to use the upload function with Notbeook++. You will need to setup the addresses in it ahead of time.

      Arnel C.

  16. Hi Guys

    It’s not connecting to my server. I checked and rechecked the ftp settings and it’s not connecting. Below is the message I keep getting. I am using my cpanel username and pw. 

    -> TYPE I  


    -> Quit  

    Unable to connect


    Please help. Thanks, O

    1. Hello Olaf,

      Thank you for your question. We are happy to help, but will need some additional information. Are you using FTP, or FTPS/FTPES? I have seen instances where this can cause issues.

      Also, have you reviewed the FTP logs for problems? For example, Live Support will review the logs while you use FTP to see if you are connecting, or failing before getting to the server.

      Thank you,

    2. Great article. It’s pretty much on point.

      1. suggestion: explain what “hostname” is for noobies.

      Thank you

  17. Hi,

    Great plugin. I begining to prefer Notepad++ over Textpad.

    Could this plugin be tweaked to tail say the last 100 or 1000  lines of the remote file?

    My remote file is my server trace.log which is huge and I am interested in the the last few hundred lines of that file, only. (every few minutes)


    1. Unfortunately, it cannot. Your best solution in that case would be to download the full file and then open it in Notepad++.

    1. Hello paponnus,

      Thank you for your question. You should be able to bring up the Find window by pushing Ctrl + f at the same time.

      If the search box is not coming up, your installation may be messed up. Downloading the latest version, and re-installing Notepad++ may be a good solution.

      If you have any further questions, feel free to post them below.

      Thank you,

    1. Hello Nomo,

      Thank you for your question. We are happy to help, but will need some additional information.

      Can you provide the full error message you are getting?

      Have you confirmed the FTP settings you are using are correct? For example, with our hosting you can view your own FTP settings at any time.

      Feel free to post any additional questions below.

      Thank you,

  18. Hi Arnel C,

    Thanks for your reply. My issue is not “double click” but issue is that NppFTP is treating some files as directory and so not able to open. I am able to open many other files but issue is specific to some files which are shown as a directory in tree in NppFTP.

    I guess issue is related to permissions on such files, I have read only permissions on these files which are not able to open in NppFTP. I can open same file in Linux and if I copy same file to different location or with different name in same location then I get full access on file and able to open in NppFTP.




  19. I cannot open many files in Notepad++ using this method, it is treating files as directory and when I click/double on file, it does nothing and shows below error in NppFTP

    Failure retrieving contents of directory

    Any Help please ??


    1. Hello Ban,

      Thanks for the question. NotePadd++ FTP option is there to make it easy to directly transfer text that you’re editing into a FTP account. The FTP option is not a full-featured option, so things you may take for granted (such as double-clicking on a file) may not be something available in NPP++FTP option. This is not something that is a result of of server settings – this is typically set on the client computer.

      A good FTP program to use is FileZilla. You may want to use this program in place of the other if you want easier file handling.

      Since we do not develop the software, so if you are interested in getting more support, then you may need to look at NotePad++’s support. If you have any further questions, please let us know.

      Arnel C.

Was this article helpful? Join the conversation!