Synchronize Filezilla Site Manager Settings to Multiple Computers

FilezillaI have the Filezilla ftp client on two computers... my desktop (which I use for development etc) and my laptop (which I take to see clients).  To synchronize the ftp sites (in site manager) I usually just exported the sites on my development computer and then imported on the laptop.  This worked ok at first... and then I became tired of the manual export / import process ... there must be a better way to do this...

So I set off on my search to make my life a little bit easier and, of course, just a little bit geekier. Google Drive

The first thing I needed to do was find a synchronization app that I could have on both computers.  I already use Google Drive to sync a whole bunch of stuff so this became the base for the solution.

I then looked for a way to customize the Filezilla configuration... and low and behold I found that Filezilla has an xml file where you can set custom default settings.  Sweet!  The file is called fzdefaults.xml.  Here is some more info on the file

So now I had a way to sync files across my computers and a way to customize my Filezilla settings... nice... Here are the steps I used to sync the Site Manager settings:

  1. Created a folder inside my Google Drive folder structure so my Filezilla settings would replicate automatically.  I created mine at [Google Drive Root]/custom/Filezilla/SiteManager.  Then I let Google Drive sync the folder... all done, nice!
  2. Open Filezilla on my desktop, click File > Export and select "Export Site Manager entries."  I then saved the file in my Google Drive sync folder [Google Drive Root]/custom/Filezilla/SiteManager/Filezila.xml.  Again I let it sync quickly before proceeding.
  3. Close Filezilla on my desktop and go to the Filezilla program directory.  On my computer it is: C:\Program Files (x86)\FileZilla FTP Client
  4. Copy the fzdefaults.xml.example file from the docs directory to the root Filezilla program directory and rename it as fzdefaults.xml
  5. Open the file in Notepad ++ and edit the config line for <Setting name="Config Location"> (line 65 in my file).  Change the default setting of $SOMEDIR/filezilla/ and set your path to the Site Manager Export file in the sync directory.  I didn't include the filename... just the directory path.  ie: [Google Drive Root]/custom/Filezilla/SiteManager NOT [Google Drive Root]/custom/Filezilla/SiteManager/Filezilla.xml
  6. Save and close the file.
  7. Open Filezilla (you may have to accept new defaults and setup your interface again) and all your sites should be there!  Note: I had to remove the <server> tags to get rid of a default site entry. 
  8. Close filezilla and get ready to start the second computer.
  9. Repeat steps 3-7 on the second computer and, just like magic, I have two computers with all my sites synchronized!  So sweet! 

I hope this helps you! 

Add new comment

Refresh Type the characters you see in this picture. Type the characters you see in the picture; if you can't read them, submit the form and a new image will be generated. Not case sensitive.  Switch to audio verification.