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

» Mount a WebDAV filesystem (like box.net) on Linux using davfs2

You can easily mount a WebDAV filesystem on Linux so that you can access the files just like they were on your local computer. One way to do is to install the davfs2 package (this is the Ubuntu/Debian package name, though it should be similar for other distros). Once you have installed it, add an entry to /etc/davfs2/secrets with your login credentials for the WebDAV account. For box.net, the command would look like this:sudo echo “https://www.box.net/dav username password” >>...

» How to Fix an Atari 2600: From Top to Bottom

Believe it or not, the Atari 2600 is one beast of a console, and very rarely dies. Its like the annoying brother you kick in the pants, and he still comes back. Here are some notes to keep your console looking fresh, clean, and working perfect. Don't forget, you need to use either the RF box that comes with the atari, or you can buy an RCA to Coax adapter. An automatic RF switching box will *not* work, because the atari signal isn't strong enough.Out of all of the consoles I like to work...

» 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....