updating filzilla server.xml
Moderator: Project members
updating filzilla server.xml
passthru("C://Program Files/FileZilla Server/FileZilla Server.exe"/reload-config);
getting the error - Division by zero in C:\wamp\www\ftppassword.php
getting the error - Division by zero in C:\wamp\www\ftppassword.php
Re: updating filzilla server.xml
ROFL brilliant
Re: updating filzilla server.xml
Please have a look at it, http://forum.filezilla-project.org/view ... t=passthru
In one of your replies you had asked not to put the quote to the arguments.
You request the members to search for the forum before posting the question for similar questions. If the solutions does not work then there's no option but, to post the question.
We put the question and wait for hours hoping we get a solution and the kind of reply you provided for my query doesn't help anyone.
Re: updating filzilla server.xml
thatsme wrote:passthru("C://Program Files/FileZilla Server/FileZilla Server.exe"/reload-config);
getting the error - Division by zero in C:\wamp\www\ftppassword.php
Notice the position of the quotes?cooperspc wrote:IN YOUR PHP SCRIPT USE
FOR PASSTHRU TO WORK, must have php safemode off or setup safemode exe dir to the LOCATION of FILEZILLACode: Select all
passthru("LOCATION of FILEZILLA/filezillaserver.exe /reload-config");
Re: updating filzilla server.xml
What does PHP scripting have anything to do with FileZilla server?
Microsoft MVP (2004 through 2008)
Re: updating filzilla server.xml
This has nothing to do with safe mode. Top poster is complaining about an integer division.
I find it a hilarious example of why people think PHP is a bad language to write secure apps when in fact it's the PHP users that are clueless and thus do not know how to write proper code.
I find it a hilarious example of why people think PHP is a bad language to write secure apps when in fact it's the PHP users that are clueless and thus do not know how to write proper code.
Re: updating filzilla server.xml
My point is that there this has absolutely nothing to do with FileZilla. This is another environment trying to launch a FileZilla interface at best. This is an issue with the "launching environment" and nothing to do with FileZilla. If they are truly looking for support, then they need to figure out the right place to find support instead of just blindly throwing stuff against the wall and then getting their feelings hurt when they do not get the response that they incorrectly assumed that they would get.
Last edited by cszeto on 2009-02-13 15:49, edited 1 time in total.
Microsoft MVP (2004 through 2008)
Re: updating filzilla server.xml
The launching environment is just fine. The above code snippet does exactly what it's supposed to do (divide a string by an undefined constant).
Re: updating filzilla server.xml
The setup of the "launching enviroment" is hosed... Nothing to do with FileZilla...
Microsoft MVP (2004 through 2008)
Re: updating filzilla server.xml
The launching environment is fine, that script is fine, but the script author failed to put his intentions into code. That's all.
Re: updating filzilla server.xml
"Potato" - "Potatoes"
It has nothing to do with FileZilla...
It has nothing to do with FileZilla...
Microsoft MVP (2004 through 2008)
Re: updating filzilla server.xml
cszeto the following is probably why it appeared here and not elsewhere..
thatsme wrote:In one of your replies you had asked not to put the quote to the arguments.
Re: updating filzilla server.xml
Which quotes? The arguments weren't quoted. They were just part of a string literal.
Re: updating filzilla server.xml
From what I know, strings have to be quoted or they will be taken as constants/variables. And I guess reload and config are not defined.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
Re: updating filzilla server.xml
And in that strange dynamically types language assumed to be zero. So divide by zero.
I enjoy this thread. Let's see how soon somebody comes up with a solution. It's such a basic thing
I enjoy this thread. Let's see how soon somebody comes up with a solution. It's such a basic thing