Filezilla Site Manager Sync via free cloud services

With today’s growth of devices, each of us should have more than 2 devices, and synchronization should be a must-have feature for the apps.

Filezilla is the most well-known app for FTP and SFTP file transfer.

But on the free version, there’s no feature to sync your site credentials across the devices. It’s something that we have to accept, as it’s free.

I got a method to sync Filezilla sites across the devices with online cloud services, such as DropBox, Onedrive, Google Drive or so.

Step 1: Get Filezilla Site Manager location – fzdefaults.xml

In the Filezilla installation folder, you will find the setting file, called fzdefaults.xml.

We will edit this file to make Filezilla load the Site Manager database from the specific location that we wanted.

In this way, you will be able to point the folder path to the cloud folder and the database created by Filezilla will be sync over your devices.

Here’s the collection of file path on multiple OS, these paths are the common one, use it unless you installed Filezilla on a different disk drive or custom folder

  • Windows: C:\Program Files\FileZilla FTP Client\docs\fzdefaults.xml
  • macOS: Applications > Right-click on Filezilla App > View Package Content
  • Linux: use command line “locate fzdefaults.xml” (you will need to install mlocate app first)

If you couldn’t find the file, here’s the example file

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

    <Setting name="Config Location">$OneDrive\Crendentials\Filezilla</Setting>
    <Setting name="Kiosk mode">0</Setting>
    <Setting name="Disable update check">0</Setting>
    <Setting name="Cache directory">$USERPROFILE/Documents</Setting>

At the “Config Location” line, you will need to put the cloud folder there, without an exact folder, it should be the dynamic folder.

Mine, I’m using OneDrive on Windows, and I created /Credentials/Filezilla folder, so my file path should be: $OneDrive\Crendentials\Filezilla

Here’s how to get a dynamic folder using the command line

Windows: SET | more
macOS: printenv
Linux: printenv | more
filezilla site manager - get global var on windows and linux
SET | more

Base on the different systems, you can use the suitable command to get your cloud drive folder path. I.e you might use DropBox, so find the DropBox environment path, instead of $OneDrive

Step 2: Put fzdefaults.xml in the correct folder

After getting the file, you will need to put the file to the installation folder.

Here’s the list of the path you should put your fzdefaults.xml file to.

    - Windows:

      Put the file fzdefaults.xml into the same directory as filezilla.exe

    - OS X:

      Modify the app bundle, put fzdefaults.xml into the
      Contents/SharedSupport/ subdirectory

    - Other:

      Put fzdefaults.xml into one of the following directories (in order of precedence):

      - ~/.filezilla
      - /etc/filezilla
      - share/filezilla subdirectory of the install prefix.

That’s it.

This is the setup for the first device. On every new device you wish to sync the Site Manager for, you will have to do again on those device again.

It’s no matter how different OS on each device, just use the same cloud drive software so you will get the same global variable. So the setup will be faster on new devices

Leave a Reply

Your email address will not be published. Required fields are marked *