Hello,
I'm having a quick question about reloading the XML configuration.
Let's assume a client is uploading to Filezilla Server at a given time. While uploads are occurring, if I send PHP to invoke the configuration file reloading, the uploads will stop while Filezilla reloads the config?
This is surely a stupid question but I would like to be sure of this.
Thank you for your help.
Regards
Fillezilla XML reload question
Moderator: Project members
Re: Fillezilla XML reload question
Current transfers are uneffected.
-
- 500 Command not understood
- Posts: 2
- Joined: 2008-05-15 08:45
- First name: Pedro
- Last name: Heliodoro
Re: Fillezilla XML reload question
Thank you
Re: Fillezilla XML reload question
Hello everybody
I'm interesting in configuration FileZilla Server by a PHP script. I manage adding a user in the XML config-file with my own code:
http://charlesprost.free.fr/serveur/filezilla.rar
and this page helps me to reconfigure the server while it is running:
http://forum.filezilla-project.org/view ... 340&p=7540
and it works
But I was wondering, if we can remotely configure FileZilla Server with the FileZilla Server Interface, it's because FileZillaServerInterface doesn't modify the xml itself. It's surely because the server does it when the Interface controls it by the socket connection (that we can access from Internet with proper routing)
So can we use the socket connection with PHP to command the server like the FileZillaServer Interface ?
I'm interesting in these functions:
http://fr3.php.net/manual/en/function.socket-create.php
http://fr.php.net/socket_set_option
http://fr.php.net/socket_sendto
that I found here : http://www.hackernotcracker.com/2006-04 ... cript.html
What command have I to send to manage the server (connection with password, change configuration of user) ?
PS:I'm not a coder, so I can't understand the source file of FileZillaServer, I only learn PHP for 3 weeks (so my code may have lack of security :S)
And sorry for my english I'm French
I'm interesting in configuration FileZilla Server by a PHP script. I manage adding a user in the XML config-file with my own code:
http://charlesprost.free.fr/serveur/filezilla.rar
and this page helps me to reconfigure the server while it is running:
http://forum.filezilla-project.org/view ... 340&p=7540
and it works
But I was wondering, if we can remotely configure FileZilla Server with the FileZilla Server Interface, it's because FileZillaServerInterface doesn't modify the xml itself. It's surely because the server does it when the Interface controls it by the socket connection (that we can access from Internet with proper routing)
So can we use the socket connection with PHP to command the server like the FileZillaServer Interface ?
I'm interesting in these functions:
http://fr3.php.net/manual/en/function.socket-create.php
http://fr.php.net/socket_set_option
http://fr.php.net/socket_sendto
that I found here : http://www.hackernotcracker.com/2006-04 ... cript.html
What command have I to send to manage the server (connection with password, change configuration of user) ?
PS:I'm not a coder, so I can't understand the source file of FileZillaServer, I only learn PHP for 3 weeks (so my code may have lack of security :S)
And sorry for my english I'm French