Sync filezilla site manager across all your machines with Dropbox

Another timesaver here, if you are like me and use filezilla client on various different machines and platforms this is a great time saver, we are going to share the sitemanager.xml file that filezilla uses to store all your site definitions on different machines. Personally I have over 200 ftp connections and constantly working between office, home and mobile keeping my ftp client current is a total mare. Luckily dropbox and someeasy steps solve all that.

First things first grab a copy of your Filezilla sitemanager.xml and stick it in a dropbox folder, i use:

Dropbox/Apps/Filezilla

Just take it from whichever machine is most uptodate, for linux it will be in ~/.filezilla/sitemanager.xml, for Windows 7 it will be here c:\Users\Username\AppData\Roaming\Filezilla\sitemanager.xml

Once you’ve done this all you need to do is create symobilic links on each machine pointing at the sitemanager.xml file the dropbox folder.

Linux
Surprise, surprise this is the easiest of the lot. Just do this (obviously use your dropbox path if different)

ln -s ~/Dropbox/Apps/Filefillz/sitemanager.xml ~/.filezilla/sitemanager.xml

Windows 7
This took a while to sort out, there is a command called mklink on win7 that can do links but i gave up after a while as i kept getting syntax errors. Then i found this little shell extension which works great:

http://schinagl.priv.at/nt/hardlinkshellext/hardlinkshellext.html

Basically once you’ve installed the dll then the shell extension you can simply locate the target file (the dropbox one) right click and choose ‘Pick Link Source’

Then just browse to the folder where your sitemanager.xml should be stored (mine is in C:\Users\david\AppData\Roaming\FileZilla) then right click in the whitespace and click Drop

Mac

Not on this blog in my lifetime, get a grip….

Summary

Follow the process above on all your machines and then just open up filezilla and you should see all your site manager settings, try adding/editing one and then opening filezilla  you should see it sync onto your other machines immediately.

Also Ive noticed if you update the sitemanager, you dont need to restart filezilla, each time you click the sitemanager icon it will load a fresh copy of the xml file, smooth!

Advertisements

2 responses to “Sync filezilla site manager across all your machines with Dropbox

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s