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 Sunday, 29 January 2012 22:27  
Related Articles

» How to Refurbish Your NES (so you do not have to blow on the games anymore)

The NES is one of the most successful systems to exist. Unfortunately, Nintendo didn't plan to have people still play the NES for this long. I'm here to tell you how to clean the games, get rid of that dreaded blinking screen, and how to clean your controller on the inside so it has the perfect response that it used to have. You dusted off your NES, hooked it up, ready to play Contra, turn it on, and you get the dreaded blinking red/blue/green/whatever color screen, depending on your model....

» Wallpaper Websites

Most people that use a computer often use a custom wallpaper. However, finding a website that can be reliable, have great wallpapers or desktops, and not contain spam or viruses can be hard to find. Here is a list of wallpaper vendors that are safe and provide users with breath-taking wallpapers: -> A great website that provides High-resolution widescreen wallpapers, desktop icons, and themes for Mac OS X, Microsoft Windows, and Linux. Interface lift provides website in their default...

» How to Enable Playback of MKV Files in Windows 7 Media Center

Back up your registry and create a system restore point. This is in case any problems arise in the process. the Windows 7 version of the codec pack. (The actual download is hosted by Major Geeks). When the download completes, install the codec pack.If you are running the 64-bit version of Windows 7, download and install those components as well. the MKV Registry Hack for your version of Windows 7 (32 or 64 bit).Double click the downloaded .reg file and allow the process to complete. This will...