Connecting notepad++ to linux via FTP(NppFTP)

31 Jul 2014 by admin


Notepad++ has a lot of plugins installed in it for our convenience and one of them is FTP client which can to be used to transfer files between two computers.

In this example I'll be showing how to connect to a remote machine and transfer files back and forth between them.

My first machine is Windows 7 and I'll be using a virtual linux machine running Ubuntu as my second computer for this example.

  1. Turn on the second machine(linux in this case) and note down its IP address.

    To get the IP address use following command:
    ifconfig


    Here is a screenshot of the same.



    My home router is providing me a local IP address. So for ubuntu the IP address is :192.168.0.103
    at this point.

    Please note that this is not constant and may change depending on your settings.

    If you are trying to connect to a remote server than take note of the current IP address of the server.

    If it is a web server than you can also use the host name.


  2. Now in your first computer, open notepad++ and click on plugins tab.

    Select NppFTP -> Show NppFTP Window





    It will show FTP pane on the right side of the screen


  3. Click the gear icon from the right pane and select profile settings.

    It will open a window as shown below.



  4. Click the "add new" button and give a name to your machine and click ok.





  5. Now, in the hostname field type the IP address or the host name of the server you want to connect to, which you found in the first step.

    Let the connection type be FTP. You may use SFTP if the remote server supports SFTP protocol.

    Type in the username and password of the remote computer and click close.



  6. Click on the cloud like icon in the FTP window pane and select computer name(entered in step 4).



    If you've typed in the username and password correctly you'll be connected to the remote machine and directory structure of the machine will be visible to you.

    You can browse the remote machine and download any file using the download file icon (next to cloud icon) or upload any file to the remote machine.



Category: Network

Comments

comments powered by Disqus