Page 1 of 1

How to move FZ server settings to other folder (e.g.sub folder of installation dir)?

Posted: 2024-01-29 16:43
by thoste
How can I tell filezilla server (NOT service) to store its settings in a non default folder?
E.g. in subfolder "mysettings" of fz server installation folder?

Can I pass somehow this directory path at start to FZ server e.g. similar to

filezilla-server.exe -settingsfolder="D:\tools\FZ\server\mysettings\"

Re: How to move FZ server settings to other folder (e.g.sub folder of installation dir)?

Posted: 2024-02-06 21:08
by oibaf
Sorry for the delay, just noticed the thread.

The command line option is --config-dir (notice the two dashes in front).

To reconfigure the server in a way that it permanently uses the new path, follow the instructions in this thread: viewtopic.php?t=54188

Re: How to move FZ server settings to other folder (e.g.sub folder of installation dir)?

Posted: 2024-02-07 12:57
by thoste
Ok, thank you.

BUT your solution seems to work only for absolute paths like (on Windows 10):

filezilla-server.exe --config-dir "D:\tools\ftp\fz\fzSettings"

IT does not work with relative paths like (mind the leading double dots):

filezilla-server.exe --config-dir "..\fzSettings"

which mean: Go to parent directory and then into child folder "fzSettings"

In this case nothing is written into the "fzSettings" directory.
Can you confirm this?

May I ask for adding this path independent relative config dir specification (according to Linux/Unis syntax)