Search found 83 matches: xml reload config

Searched query: xml reload config

by botg
2006-07-13 16:02
Forum: FileZilla Server Support
Topic: create user account with command line
Replies: 7
Views: 5235

Please search the forums. You can edit the xml file manually and then call "FileZilla Server.exe" /reload-config
by botg
2006-06-02 19:18
Forum: FileZilla Server Support
Topic: web front end for account creation
Replies: 1
Views: 2016

Please search the forums, there is some sample code to edit the XML file directly to add users.
After editing FileZilla Server.xml, the settings can be reloaded by passing /reload-config to FileZilla Server.exe
by botg
2005-09-07 08:53
Forum: FileZilla Server Support
Topic: Dynamic user creating with PHP
Replies: 7
Views: 11455

After updating the xml file, call 'FileZilla Server.exe' with the -reload-config commandline argument, that will make FZS to reload it's config.
by botg
2005-08-08 16:33
Forum: FileZilla Server Support
Topic: Command line administration
Replies: 1
Views: 1844

You can edit the file "FileZilla Server.xml" directly and call FileZilla Server.exe with the -reload-config switch to reload it.
by botg
2005-03-21 14:42
Forum: FileZilla Server Support
Topic: Importing Users
Replies: 5
Views: 10201

You can edit the xml file directly and call FileZilla Server.exe with the /reload-config switch. Writing an CVS to XML converter should not be difficult and I think it can be done using XSLT for example.
by LunarRunner
2005-03-11 21:13
Forum: FileZilla Server Support
Topic: Letting FZSknow I've changed the XML-file
Replies: 7
Views: 4851

reload-config appears to be broken in 9.5

First, my problem is with FZS version 9.5. I have written some configuration scripts to update the FileZilla Server.xml file but using the /reload-config option doesn't work for me. In an attempt to fix this, I downloaded the source code and made some minor changes to the reload logic. I was able to get the reload working by making the CServer instance variable "pServer" global in the Service.cpp module, and then by adding a method "CServer::ReloadConfig()" in Server.cpp to perform the reload operation. The service control handler was then modified to make the call directly. The service control handler now looks like this for the custom service control:

case 128:

The added method in Server.cpp looks like this:

void CServer::ReloadConfig()
COptions options;
CPermissions perm;

This works just fine on both XP and 2003 server. However, on 2003 server, my build crashes when I attempt to make an FTP connection so I think I my build is not quite right. Also, I'm not sure this method will work properly for larger installations as the time it takes to reload the configuration may exceed the service control hint timeout, causing the service to appear non-responsive. However, I've always avoided using windows messaging to communicate between threads in services and find this to be a better solution; perhaps using a named event might work equally well.

Since I can't deploy my build on 2003 server because it crashes upon FTP connections, and I can't use the FZS distribution without the /reload-config option working, I'm stuck.

BTW, you might be asking "If the build crashes, how can he say the reload modifications worked?" Well, on XP (my build machine), it works just fine. I can reload the configuration and make FTP connections all day long. When I move my build to a 2003 server platform, the build crashes when I make an FTP connection to the server. Also note that the production release will run properly on a 2003 server, but not my build.

Any ideas?
by tibs
2004-08-03 10:41
Forum: FileZilla Server Support
Topic: FZ Server /reload-config not working
Replies: 1
Views: 4103

FZ Server /reload-config not working

I have just earlier read the discussion about using the /reload-config switch eg "c:\program files\filezilla server\filezilla server.exe" /reload-config.

While this was quite helpfull it is not working for me. I am running Windows 2003 server and have just upgraded to FileZilla 0.9.2. Any changes I make to the FileZilla Server.xml file are not reflected using /reload-config only if I stop and start the service.

Any suggestions?

by botg
2004-05-22 21:35
Forum: FileZilla Server Support
Topic: Add users through script
Replies: 11
Views: 12499

Editing the xml file is the easiest solution.

After making changes to the xml file, call FileZilla Server.exe with the /reload-config switch.

About the passwords: FileZilla Server does not store the passwords directly, it just stores their MD5 hash.