Page 1 of 1

Shared configuration file

Posted: 2011-07-15 21:21
by mrbillb
Is there a way to share the FileZilla configuration between different operating systems. I run Ubuntu, Windows 7, and Max OS X. I would like to avoid having to configure FileZilla separately for each one. Is there a way to accomplish that?

Re: Shared configuration file

Posted: 2011-07-16 10:13
by boco
Yes, by changing the location for the configuration to a drive accessible by all OS. Have a look at the file fzdefaults.xml.example in the docs subdirectory. Instructions are inside.

Re: Shared configuration file

Posted: 2015-12-30 16:40
by javiersanchez
Hello. This post is very old. However I am looking for doing the same. I have 2 servers set into a failover cluster, I need to have the config file shared to both servers so that, when I do any change in the online server, if it fails over for any reason, the offline server will have filezilla updated as well. I cannot find the docs folder in my windows installation. Can you please give me any instructions?

Re: Shared configuration file

Posted: 2015-12-31 05:09
by boco
The docs subdirectory is in the Program directory of FileZilla (usually Program Files), next to the resources directory. It is not in the settings directory!

Re: Shared configuration file

Posted: 2015-12-31 11:06
by javiersanchez
Thanks a lot for your answer. But I do not see any documentation or docs folder. Actuallly, I do not see any subfolder at all. Maybe that is because when installing, someone decided not to install documentation'
Is there another place I can find that?
Also, I was thinking, maybe changing installation directory at the moment of running the installer, into a common place may help. Do you think that would work?

Thank you a lot in advance!

Re: Shared configuration file

Posted: 2015-12-31 17:25
by GotZilla
The example file is located here on my system:

C:\Program Files (x86)\FileZilla FTP Client\docs\fzdefaults.xml.example

If your Filezilla is installed elsewhere than program files, you should check there.

The easiest way to find where it's installed is to right click the shortcut icon, select "Properties" and then click "File location".

One way to share the same config file is to use symlinks on both systems that point to the same network location.

Re: Shared configuration file

Posted: 2016-01-01 02:58
by boco
Here's the template usually found in ./docs. Adapt to your needs, save as fzdefaults.xml next to FileZilla.exe.

Code: Select all

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

<!-- fzdefaults.xml documentation

  The file fzdefaults.xml is used to provide system-wide default settings for
  FileZilla.

  Usage:

    - 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.

  Default site manager entries:

    Create some new Site Manager entries and export the list of sites. Rename
    the resulting XML file to fzdefaults.xml or copy the <Servers> block in it
    to fzdefaults.xml. See example below.

  Global configuration settings

    Location of settings directory:

      By default, FileZilla stores its settings in the user's home directory. If
      you want to change this location, modify the "Config Location" setting (see
      below).

      "Config Location" either accepts absolute paths or paths relative to the
      location of fzdefaults.xml
      You can also use environment variables by preceding them with the dollar
      sign, e.g. "$HOME/foo".
      Use $$ to denote a path containing dollar signs, e.g. "c:\$$foobar\" if
      settings should be located in "c:\$foobar".
      A single dot denotes the directory containing fzdefaults.xml

    Kiosk mode

      If the "Kiosk mode" setting is set to 1, FileZilla will not write any
      passwords to disk. If set to 2, FileZilla will not write to any
      configuration file. The latter is useful if FileZilla gets executed from
      read-only media.

    Disable update check

      If the "Disable update check" setting is set to 1, the capability to
      check for new FileZilla versions will be completely disabled.

-->

<FileZilla3>
  <Settings>
    <Setting name="Config Location">$SOMEDIR/filezilla/</Setting>
    <Setting name="Kiosk mode">0</Setting>
    <Setting name="Disable update check">0</Setting>
  </Settings>
  <Servers>
    <Server>
      <Host>ftp.gnu.org</Host>
      <Port>21</Port>
      <Protocol>0</Protocol>
      <Type>0</Type>
      <Logontype>0</Logontype>
      <User>anonymous</User>
      <Pass>someone@example.com</Pass>
      <TimezoneOffset>0</TimezoneOffset>
      <PasvMode>MODE_DEFAULT</PasvMode>
      <MaximumMultipleConnections>0</MaximumMultipleConnections>
      <EncodingType>Auto</EncodingType>
      <Comments></Comments>
      <LocalDir></LocalDir>
      <RemoteDir></RemoteDir>Primary GNU download server
    </Server>
  </Servers>
</FileZilla3>

Re: Shared configuration file

Posted: 2016-01-07 12:34
by javiersanchez
Oh wait, I'm sorry if I was unclear. I was talking about filezilla server, not the client.

Re: Shared configuration file

Posted: 2016-01-07 13:27
by boco
I see. Posting into the appropriate forum would have avoided the confusion.

The configuration location of FileZilla Server is hardcoded and cannot be changed. But you could use a third-party software to replicate "FileZilla Server.xml" if it changes.

Re: Shared configuration file

Posted: 2016-01-08 03:10
by javiersanchez
Yeah I'm sorry for that. I got here googling and didn't realize until right now about the path. Thanks anyway for your effort in helping me out.