|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20812 ftp_get returns FALSE in case of success
Submitted: 2002-12-04 09:28 UTC Modified: 2002-12-06 00:08 UTC
From: db at unit-netz dot de Assigned:
Status: Closed Package: FTP related
PHP Version: 4.3.0RC2 OS: Linux 2.2 / SuSE 6.3
Private report: No CVE-ID: None
 [2002-12-04 09:28 UTC] db at unit-netz dot de
The PHPFTP-script running fine with PHP 4.2.3 won't work with PHP 4.3.0RC2 because ftp_get returns false in spite of doing its work correctly.



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-04 09:31 UTC] db at unit-netz dot de
I forgot: we use ProFTPD 1.2.6
 [2002-12-04 11:50 UTC]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

 [2002-12-05 03:50 UTC] db at unit-netz dot de
This simple script works fine, but displays "Failed!"
That's a hard "cosmetic" problem.

if (ftp_get($conn,"/tmp/ftptest","ftp.txt",FTP_BINARY))
echo "Success!";
echo "Failed!";
 [2002-12-06 00:08 UTC]
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at
In case this was a documentation problem, the fix will show up soon at

In case this was a website problem, the change will show
up on the site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 14 21:01:27 2024 UTC