PHP 4.0 Bug #7232: Is it a ftp bug
| From: | hxr2000 at 21cn dot com | Date: | Mon, 16 Oct 2000 02:02:33 +0000 |
| Subject: | PHP 4.0 Bug #7232: Is it a ftp bug | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35092@lists.php.net to get a copy of this message | ||
From: hxr2000@21cn.com
Operating system: Linux Mandrake release 7.1(Kernel:2.2.15-4mdk)
PHP version: 4.0.2
PHP Bug Type: FTP related
Bug description: Is it a ftp bug
Following of the php code:
<?php
set_time_limit(0);
$ftp=ftp_connect("192.168.0.201",21);
if (ftp_login($ftp,"hxr","hxr"))
echo time();
$upload = ftp_get($ftp, "test.vob", "dvd01.vob", FTP_ASCII);
echo time();
ftp_quit($ftp);
?>
Environment:
1.php4.02+mysql3.22.32+apache1.3.12+Linux Mandrake release 7.1(Kernel:2.2.15-4mdk)
2.the size of dvd01.vob>=1G
Error message:(After about 300 seconds)the page is timeoutCthe page cannot open.
But the file still being transfered to the php server until the whole file is transfered
to the php server succesfully .How can I solve the problem?
--
Edit Bug report at: http://bugs.php.net/?id=7232&edit=1