#18887 [NEW]: Problems with ftp_get
| From: | jesse dot goncalves at highvalue dot com dot br | Date: | Tue, 13 Aug 2002 18:25:29 +0000 |
| Subject: | #18887 [NEW]: Problems with ftp_get | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-16633@lists.php.net to get a copy of this message | ||
From: jesse.goncalves@highvalue.com.br
Operating system: Linux
PHP version: 4.1.2
PHP Bug Type: FTP related
Bug description: Problems with ftp_get
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 bug report at http://bugs.php.net/?id=18887&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18887&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18887&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18887&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18887&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18887&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18887&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18887&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18887&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18887&r=globals