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.
- download it from http://sourceforge.net/projects/npp-plugins/files/FTP_synchronize/
- 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).

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



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.
I use Filezilla to edit files on FTP on the fly…Have you tried both?
@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
Thanks, Rarst! That’s something I’ve been looking for. Very useful :)
@Ky
Glad to be of use as always. :)
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++ ??
@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.
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.
@Pallab
Yeah, plenty of things in Notepad++ that are there but not really visible.
Thanks for commenting and welcome to blog. :)
Damn…How could I miss this! Thanks for pointing me to this. Its super easy and cool.
@Navjot Singh
No problem. :) As I said above there is really lots of miss-able stuff in Notepad++. Thanks for your visit and comment.
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.
@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.
[...] Edit files on FTP with Notepad++ plugin (2822) [...]
The plugin FTP_synchronize is not included in the current stable release 5.6.4, you need to download the plugin and install it
@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.
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.
@Kadimi
I’ve updated post with download link and some link love for your blog. :) Thanks again.
(Please remove this comment)
Thanks for your feedback !!!
[...] 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. [...]
[...] 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; [...]
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
@FK
Yep, although there were recent plugin update with stability fixes. Myself I’ve been trying out Notepad++ integration with WinSCP.