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

Need help with FileZilla Server? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
thoste
226 Transfer OK
Posts: 64
Joined: 2005-12-04 12:26

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

#1 Post by thoste » 2024-01-29 16:43

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\"

User avatar
oibaf
Contributor
Posts: 405
Joined: 2021-07-16 21:02
First name: Fabio
Last name: Alemagna

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

#2 Post by oibaf » 2024-02-06 21:08

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

thoste
226 Transfer OK
Posts: 64
Joined: 2005-12-04 12:26

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

#3 Post by thoste » 2024-02-07 12:57

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)

Post Reply