October 27th, 2008 Software | comments_icon23 Comments

Edit files on FTP with Notepad++ plugin

My main issue with WordPress engine this blog is running on – editing files online sucks. Despite all that online applications hype web browsers never meant to be text editors and totally fail as such.

There is tried and true option of downloading file from FTP, editing it and uploading back. I am so not patient enough for that. Luckily Notepad++ came to rescue with its FTP plugin.

What it does

Notepad++ by itself is great text editor and I had previously covered that. FTP plugin effectively makes it capable of editing file on FTP server. It’s not actually editing remote files, more like editing copy of file which is automatically synchronized to server.

Setup

[update 2009-12-29] In recent versions of Notepad++ plugin is no longer included by default, thanks to Kadimi for heads up in comments.

  1. download it from http://sourceforge.net/projects/npp-plugins/files/FTP_synchronize/
  2. unpack into \Notepad++\plugins\

Plugins > FTP_synchronize > Show FTP Folders will display plugin interface in sidebar-like fashion. You can make it float by double-clicking title.

Settings button shows dialog where you have to input your login details. Don’t forget to press New button first. You can also specify starting directory – useful if you work in specific subfolder (like WordPress theme one).

notepadpp_ftpsetup

After that pressing connect button and selecting profile loads folder tree in plugin window. More buttons to play with but in general double-clicking file will open it for editing and saving file (in usual way) will update it on server .

Just don’t forget to make backup of everything first, it’s easy to get carried away and break something on your site.

Notepad++ update

Version 5.1 was released recently. Program got separated into Unicode (main fork) and ANSI (for Win98 and earlier) versions.

I got some problems with copying it over my old version so had to do clean install. Not all plugins are Unicode compatible at moment either.

Download page http://sourceforge.net/project/showfiles.php?group_id=95717&package_id=102072

RSSGet updates via RSS

23 Responses to “Edit files on FTP with Notepad++ plugin”

  1. Lyndi says:

    This is something I most definitely have to give a try. I agree with you, editing in WP is not the way to go and as a result I also FTP an awful lot.

  2. I use Filezilla to edit files on FTP on the fly…Have you tried both?

  3. Rarst says:

    @Lyndi

    It’s bit rough (Notepad++ plugins are not too user friendly in general) but works very well. :) I often tweak parts of design offline but it’s still very useful to implement and change them online and quickly.

    @Ben

    I’ve only used Filezilla under Linux a bit. It’s not one of my usual tools. Good idea to check it out btw, WordPress upped amount of messing with FTP

  4. Ky says:

    Thanks, Rarst! That’s something I’ve been looking for. Very useful :)

  5. Rarst says:

    @Ky

    Glad to be of use as always. :)

  6. Nihar says:

    I use editplus with ftp to edit my wordpress and website files. I think notepad++ and editplus are almost the same.

    Have you used editplus. Do you see any more advantages in shifting me to notepad++ ??

  7. Rarst says:

    @Nihar

    Hadn’t tried EditPlus, it’s shareware right? Notepad++ is open source and based on Scintilla core. It may not be the most stable ever but I like functions set.

  8. Pallab says:

    Notepad++ is my default editor for txt,php,css,html and a bunch of other formats.
    I remember seeing the ftp plugin but never bothered setting it up. Might do it now.

  9. Rarst says:

    @Pallab

    Yeah, plenty of things in Notepad++ that are there but not really visible.

    Thanks for commenting and welcome to blog. :)

  10. Damn…How could I miss this! Thanks for pointing me to this. Its super easy and cool.

  11. Rarst says:

    @Navjot Singh

    No problem. :) As I said above there is really lots of miss-able stuff in Notepad++. Thanks for your visit and comment.

  12. Very cool plugin but have you ever tried XAMPP Rarst?

    http://www.apachefriends.org/en/xampp-windows.html

    I can edit and test WordPress themes all day long locally and never have to worry about messing up my site. The only thing I haven’t spent the time to figure out is how to match the MySQL database so that you can see your actual content on the local version. In the meantime, I made up random content/comments locally so I could test and it’s been enough for me so far.

  13. Rarst says:

    @Nick

    Tried, XAMPP sucks for my taste. It’s giant, a lot of unneeded crap and it didn’t even start properly at my system until I found separate launcher from another developer.

    I had recently moved to MoWeS – works way better. Will do post on it.

  14. [...] Edit files on FTP with Notepad++ plugin (2822) [...]

  15. Kadimi says:

    The plugin FTP_synchronize is not included in the current stable release 5.6.4, you need to download the plugin and install it

  16. Rarst says:

    @Kadimi

    Thanks for info, I usually overwrite Notepad++ on top when updating so hadn’t notice plugin was unbundled.

    As far as I googled some crashes were possibly a reason, but it still works fine for me.

  17. Kadimi says:

    Yes, on previous versions using FTP_synchronize with notepad++ on Win XP causes memory leakage from time to time, so (ctrl+s)is yout friend, lol.

  18. Rarst says:

    @Kadimi

    I’ve updated post with download link and some link love for your blog. :) Thanks again.

  19. Kadimi says:

    (Please remove this comment)

    Thanks for your feedback !!!

  20. [...] FTP synchronize plugin – it only takes 2-3 clicks to get any file to or from your FTP server. Never again start separate FTP manager to make tweaks to your site or blog. [...]

  21. [...] external editor support with automatic file download an re-upload, see excellent tutorial on integrating Notepad++ with WinSCP; I think this supersedes my usual way of Notepad++ FTP plugin; [...]

  22. FK says:

    Sometimes FTP_Synchronize doesn’t work properly. Leave alone crash cases. If you try to edit something, confirm the eof as it sometimes failed to download it in a full form.

    just my 2cents

  23. Rarst says:

    @FK

    Yep, although there were recent plugin update with stability fixes. Myself I’ve been trying out Notepad++ integration with WinSCP.

Leave a Reply