#18886 [Opn->Bgs]: Problems with ftp_get

From: Date: Wed, 14 Aug 2002 01:42:12 +0000
Subject: #18886 [Opn->Bgs]: Problems with ftp_get
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16669@lists.php.net to get a copy of this message
ID: 18886 Updated by: kalowsky@php.net Reported By: jesse.goncalves@highvalue.com.br -Status: Open +Status: Bogus Bug Type: FTP related Operating System: Linux PHP Version: 4.1.2 New Comment: 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 http://www.php.net/downloads.php 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. Previous Comments: ------------------------------------------------------------------------ [2002-08-13 14:19:10] jesse.goncalves@highvalue.com.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? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18886&edit=1

« previous php.bugs (#16669) next »