Page 1 of 1

reload-config

Posted: 2018-07-22 14:25
by Asaf
Hi,

I'm developing a small program that monitors changes in specific folders and sends notifications accordingly.
I'm currently having trouble with the server - after creating a new FileZilla user via my program (directly editing 'FileZilla server.xml') and running '"FileZilla Server.exe" /reload-config', I can see the new user updating in the server interface but when I try opening the folder from the user's end, I'm getting "530 Not logged in, user account has been disabled".
I'm accessing the FTP directly from windows explorer, and once I close+open FileZilla's server manually, it solved the problem - but I need to be able to add/edit users without actually closing the server on each change.

I've also noticed that opening the "Users" from the server interface and selecting the newly added user and pressing "ok", does the trick, but again - I need a solution that I can use automatically...

Thanks in advance!

Re: reload-config

Posted: 2018-07-22 15:50
by botg
Are there any difference in the XML file from before and after opening the users dialog and pressing "ok"?

Re: reload-config

Posted: 2018-07-23 05:48
by Asaf
Yes, damnit.
found the problem, had a wrong value when adding to the xml.

Thanks!