None


How to edit remote files with WinSCP and Notepad++ (or any other editor..)

(3 votes, average 5.00 out of 5)

Have you ever wondered how to edit a remote file in a Linux environment while you are working in a windows environment? Or maybe just want to edit a file directly from an FTP client? If so, WinSCP is for you! 

WinSCP is an open source FTP, SFTP, and SCP client with a graphical interface. You can download the latest version of WinSCP here: http://winscp.net/eng/download.php. In this tutorial, I will be using Notepad++ (which can be found here: http://notepad-plus-plus.org/). However, you may substitute any text editor you would like! 

To use Notepad++ with WinSCP, follow the steps below:

  1. Download and install WinSCP.
  2. Download and install Notepad++.
  3. Open WinSCP and select "Preferences" in the left side bar --> "Preferences..."
    winscp1

     
  4. Select "Editors" in the left side bar, then select the "Add" button.
    winscp2

     
  5. Select the "External editor:" radio button, and browse to the Notepad++ directory. Select the "notepad++.exe" executable. 
    winscp3

     
  6. OPTIONAL: If you would like to associate Notepad++ with only certain files or file extensions, update the "Use this editor for the following files" field. You may also like to check the "External editor opens each file in a separate window (process)" if you would like to have a separate window opened for each file instead of using the tab functionality of Notepad++.
     
  7. Select the "OK" button to close the "Add Editor" window. 
     
  8. Highlight Notepad++ in the editor list, and select the "Up" button until Notepad++ is on top of the list. 
    winscp4
     
     
  9. Select the "OK" button to save your changes. 
     
  10.  Connect to a remote server and double click an associated file to edit it with Notepad++!
     
  11. Repeat this process for any other editors you may use for different types of files (i.e. Dreamweaver for .html and .php).

 

***Note:  You may also get to the options menu by selecting "Options" ---> "Preferences...", instead of accessing this menu from the welcome window. 

Partner Links:
Last Updated on Monday, 30 January 2012 04:27