-reload-config

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
Mayiko
500 Command not understood
Posts: 5
Joined: 2008-02-15 20:54
First name: Ryan
Last name: Huntsman

-reload-config

#1 Post by Mayiko » 2008-02-15 20:57

I have created a C# program to create users, however the -reload-config does not work. I have looked through other posts on the forum and other people have the same issues, but I have not seen a solution. Any help is appreciated.

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

Re: -reload-config

#2 Post by boco » 2008-02-15 21:06

Try /reload-config. You should take care for proper quoting as Filezilla Server.exe contains a blank.
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Do yourself a favor and read Network Configuration.
All FileZilla products fully support IPv6. http://worldipv6launch.org
### END SIGNATURE BLOCK ###

Mayiko
500 Command not understood
Posts: 5
Joined: 2008-02-15 20:54
First name: Ryan
Last name: Huntsman

Re: -reload-config

#3 Post by Mayiko » 2008-02-15 21:42

That does not work either. I am on 0.9.25 just for more info.

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

Re: -reload-config

#4 Post by boco » 2008-02-15 21:47

Learning the exact error message would be great. Up to this point we can only guess...
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Do yourself a favor and read Network Configuration.
All FileZilla products fully support IPv6. http://worldipv6launch.org
### END SIGNATURE BLOCK ###

Mayiko
500 Command not understood
Posts: 5
Joined: 2008-02-15 20:54
First name: Ryan
Last name: Huntsman

Re: -reload-config

#5 Post by Mayiko » 2008-02-15 21:54

I am rather new to c#. How can I capture the error message? I have confirmed the changes are being made to the XML file. Thanks.

Mayiko
500 Command not understood
Posts: 5
Joined: 2008-02-15 20:54
First name: Ryan
Last name: Huntsman

Re: -reload-config

#6 Post by Mayiko » 2008-02-15 22:30

I do not get any errors when running my program. It completes like it should. If I go into the Admin app for the server and create a new user, all the changes my program made to FileZilla Server.xml are lost. I am guessing this is because they where not there when FileZilla added the new users, and it overwrote the file.

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

Re: -reload-config

#7 Post by boco » 2008-02-16 00:18

OK, made changes to the XML, then executed "Filezilla Server.exe" /reload-config. As I expected, it works. My changes are reflected in the settings.

Windows requires double quotes ("), and parameters mustn't be included in the quotes.


You could use breakpoints to debug your program, there must be some error message or -value returned (like 'file not found').
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Do yourself a favor and read Network Configuration.
All FileZilla products fully support IPv6. http://worldipv6launch.org
### END SIGNATURE BLOCK ###

Mayiko
500 Command not understood
Posts: 5
Joined: 2008-02-15 20:54
First name: Ryan
Last name: Huntsman

Re: -reload-config

#8 Post by Mayiko » 2008-02-16 03:40

Thanks for all the help.

I installed the server on a different computer and it works just fine. I am trying to access the files remotely on the actual server, so I am guessing it is actually a permissions problem. I will post my solution once I have identified the problem.

Thanks again.

Post Reply