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

From: Date: Tue, 13 Aug 2002 19:24:04 +0000
Subject: #18887 [Opn->Bgs]: Problems with ftp_get
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16638@lists.php.net to get a copy of this message
ID: 18887 Updated by: sander@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: Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Because of this, we hope you add your comments to the original bug instead. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2002-08-13 14:25:29] 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=18887&edit=1

« previous php.bugs (#16638) next »