I’ve created a php code who writes “FileZilla server.xml” and reload the server but the reloading doesn’t work!
The code is like:
Code: Select all
system('"C:\Program Files\FileZilla Server\FileZilla server.exe" -reload-config');
Double/simple backslash in the path.
-reload-config, /reload-config.
With and without space between path and “-reload-config”.
Using return variable to check if it return an error (just return “ 1 “).
And also with exec() and passthru()… still not working…
Locally([“path” –reload-config] written directly in command window) it works well, but not through php, there is the popup command window that opens and closes quickly, but filezilla doesn’t take changes .
I’ve test with ping command like :
Code: Select all
system('”ping www.google.fr”', $callback);
echo $callback;
Thanks for help me.
|Tibo|
EDIT : I'm running a 0.9.25.beta of FZ on a Win XP Pro (original)