|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18886 Problems with ftp_get
Submitted: 2002-08-13 14:19 UTC Modified: 2002-08-13 21:42 UTC
From: jesse dot goncalves at highvalue dot com dot br Assigned:
Status: Not a bug Package: FTP related
PHP Version: 4.1.2 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: jesse dot goncalves at highvalue dot com dot br
New email:
PHP Version: OS:


 [2002-08-13 14:19 UTC] jesse dot goncalves at highvalue dot com dot br
Hi, there

I'm having problems with ftp_get! I'm posting the line that's my code in, and the WARNING message thaI'm getting back.

Line 26:
$download = ftp_get($conn_id, $source_file, "pix.log.".last_data(1).".tar.gz", FTP_BINARY);

Certainly, I'm connecting first with ftp_login ($conn_id is the connection result), and after that I'm trying to GET the file. The file sure exists, the connection result is susccesfully, but I realized with the following message:

Warning: ftp_get: Opening BINARY mode data connection for pix.log.12-Aug-02.tar.gz (1234495 bytes). in /var/www/html/terra/download.php on line 26

That's something that could I do?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-13 21:42 UTC]
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Dec 03 02:01:26 2023 UTC