Location of the settings file (FileZilla.xml)?

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

Moderator: Project members

Message
Author
pixelgames
500 Command not understood
Posts: 1
Joined: 2022-06-22 14:27
First name: pixel
Last name: games

Location of the settings file (FileZilla.xml)?

#1 Post by pixelgames » 2022-06-22 14:35

Hi

as i read about the configuration file is located at %APPDATA%\ but that xml file doesn't contain users information

FYI i am upgrading from Fileserver 0.9.53 to 1.4.1.

Thank You

User avatar
boco
Contributor
Posts: 26899
Joined: 2006-05-01 03:28
Location: Germany

Re: Location of the settings file (FileZilla.xml)?

#2 Post by boco » 2022-06-23 05:17

Which file you want, the old (0.9.x) or the new one (1.x)?

The 0.9.x "FileZilla Server.xml" is in the Program Files directory where FZ Server 0.9.x is installed.

But the location of the user config files from the new version (groups.xml and users.xml) depends on how you run it. For the default "installed as service, running under user SYSTEM" install, it would be

Code: Select all

%windir%\System32\config\systemprofile\AppData\Local\fileZilla-server
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

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

Re: Location of the settings file (FileZilla.xml)?

#3 Post by oibaf » 2022-06-23 13:02

FYI, current nightlies and the next releases change the location where settings are saved if the FileZilla Server is running under the SYSTEM user. In that case, settings are saved under %PROGRAMDATA%\filezilla-server. Settings from the old location are automatically imported.

Twister
504 Command not implemented
Posts: 9
Joined: 2022-05-04 18:48

Re: Location of the settings file (FileZilla.xml)?

#4 Post by Twister » 2022-10-05 20:19

So saving the XML files from %PROGRAMDATA%\filezilla-server and copy them back to that location is the preferred way to get the server running again, when having to reinstall?

User avatar
botg
Site Admin
Posts: 35491
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: Location of the settings file (FileZilla.xml)?

#5 Post by botg » 2022-10-05 23:29

Until now that is the only way. Make sure the NTFS permissions are set correctly so that only the server service (and maybe administrators) have access to the directory and the files within.

Twister
504 Command not implemented
Posts: 9
Joined: 2022-05-04 18:48

Re: Location of the settings file (FileZilla.xml)?

#6 Post by Twister » 2022-11-18 22:34

So, there are plans to add an export / import feature, for the settings files, in the future?

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

Re: Location of the settings file (FileZilla.xml)?

#7 Post by oibaf » 2022-11-19 13:01

The export and import of settings through the UI will be available in the next release, but you can already try it by installing the most recent nightly build.

Elrinth
500 Command not understood
Posts: 5
Joined: 2010-01-07 07:45
First name: Nicht
Last name: Und Zwei

Re: Location of the settings file (FileZilla.xml)?

#8 Post by Elrinth » 2022-12-15 22:11

hi!

I'm using filezilla server 1.6.1 on my new server and I'd like to import the old users...


I have located the old settings file in C:\Program Files (x86)\FileZilla Server in "FileZilla Server.xml" and a password is written like this there (FileZilla Server 0.9.60 beta):
<Option Name="Pass">70363E2BE11D1CC6A067EC5377A702ECD7A1DF39F9A2022222E6C3B7F46D6EF7EC4855C0F9DE790B6E24BCBF7C4E78374339F26A3B6D5E02E8E8D8D541D03578</Option>
<Option Name="Salt">J)[@N`;0N,n5&lt;{sA=0%`!w12nC0Gpo[&gt;C8Icg\h[,&gt;j?DdMg&gt;|&gt;rR;B&amp;!{g]rocQ</Option>

I have located the new settings file in C:\ProgramData\filezilla-server in "users.xml" (FileZilla Server 1.6.1):
<password index="1">
<hash>sqVjtntPXgxCsJrIQwnUZmNFmsqY36EcxRA8wmg6ARA</hash>
<salt>q1uhNaa8hOU25DgaU+Q9oySXTDvchOVaLUJFZEDgBrA</salt>
<iterations>100000</iterations>
</password>
<methods>1</methods>

how on earth am I supposed to be able to transfer over the old users if I don't know the actual passwords?

User avatar
botg
Site Admin
Posts: 35491
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: Location of the settings file (FileZilla.xml)?

#9 Post by botg » 2022-12-15 22:15

Install the new version over the old. If they are on different machines, install the new version on both, then use the export and import functionality.

Elrinth
500 Command not understood
Posts: 5
Joined: 2010-01-07 07:45
First name: Nicht
Last name: Und Zwei

Re: Location of the settings file (FileZilla.xml)?

#10 Post by Elrinth » 2022-12-16 08:44

installing 1.6.1 on the old server which had 0.9.60 beta doesn't seem to be able to convert the settings:
https://i.use_direct_attachments_thankyou/dA5pUCu.png (img tag doesn't seem to work with imgur link)

"FileZilla Server 1.6.1 Setup"
There was an error while executing service filezilla-server-config-converter. Win32 code: 1067 Service code: 0

User avatar
botg
Site Admin
Posts: 35491
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: Location of the settings file (FileZilla.xml)?

#11 Post by botg » 2022-12-16 08:46

Please attach images directly to this topic.

Elrinth
500 Command not understood
Posts: 5
Joined: 2010-01-07 07:45
First name: Nicht
Last name: Und Zwei

Re: Location of the settings file (FileZilla.xml)?

#12 Post by Elrinth » 2022-12-16 08:47

mstsc_nOPAp7Ypzq.png
mstsc_nOPAp7Ypzq.png (30.19 KiB) Viewed 9037 times
here we go

Elrinth
500 Command not understood
Posts: 5
Joined: 2010-01-07 07:45
First name: Nicht
Last name: Und Zwei

Re: Location of the settings file (FileZilla.xml)?

#13 Post by Elrinth » 2022-12-16 10:31

doesn't seem I can edit my last post, but anyways... I was given access to my old email address where I had mailed out the password to the user. So now I have all the passwords and can re-input them back into the new filezilla server.
so for me, this isn't an issue any longer. but for someone else maybe it is (probably not)

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

Re: Location of the settings file (FileZilla.xml)?

#14 Post by oibaf » 2022-12-16 13:36

We've tried to reproduce the issue with the configuration converter, but to us it didn't happen. It might depend on specific info you have in your own configuration file. If you were willing to share it with us, we could find the root cause of the issue.

ImageFactory
500 Command not understood
Posts: 5
Joined: 2023-01-30 16:05
First name: Dominic
Last name: Messmer

Re: Location of the settings file (FileZilla.xml)?

#15 Post by ImageFactory » 2023-01-30 16:18

I just updated FileZilla Server from a very old version 0.x (x86) to the latest one (x64) and faced the same problem as mentioned here by Elrinth (automatic conversion failed). Unfortunately I don't have the user passwords anymore and I am not able to migrate the old users from "FileZilla Server.xml" to "users.xml". If I copy-paste a user from the old xml to the new one it doesn't appear in the GUI (service has been stoped and restarted). Any ideas how to migrate the old users at this state?

Post Reply