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  
Related Articles

» How to run Source games (CS:S & TF2) in full-screen windowed mode without a border

To run Valve Source games, like Counter-Strike:Source and Team Fortress 2, follow the steps below: Make a note of the screen resolution of the monitor you will be playing the game on. You can find out your screen resolution by selecting the "Start" button --> Control Panel --> Display. In Windows XP, you should see the resolution listed there in a format similar to (1920 x 1080). In Windows 7, you will first need to select "Screen Resolution" in the left sidebar...

» How to Recover Off-Screen Windows in Windows

Whether you are using multiple displays with one powered down or simply are unable to find a lost window while using Microsoft Windows, you can follow one of these two easy steps to recover it with ease:Right-click (or shift + right-click in Windows 7) the window in the taskbar and select move. Then press one of the arrow keys on your keyboard. The window is now locked to your mouse, so you can bring it back into view by moving your mouse to a visible location on the screen. Once found, click...

» How to Undo a File Move, Copy, or Delete with a Hotkey

As long as you have not permanently deleted a file by emptying the recycling bin or deleting the file with shift + delete, you can easily undo a file move, copy, or deletion using the control + z hotkey.