PHP 4.0 Bug #7232 Updated: Is it a ftp bug
| From: | sniper@php.net | Date: | Sun, 31 Dec 2000 01:22:55 +0000 |
| Subject: | PHP 4.0 Bug #7232 Updated: Is it a ftp bug | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-42726@lists.php.net to get a copy of this message | ||
ID: 7232
Updated by: sniper
Reported By: hxr2000@21cn.com
Old-Status: Feedback
Status: Closed
Bug Type: FTP related
Assigned To:
Comments:
No feedback.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-11-23 04:55:14] sniper@php.net
With latest CVS I get similar effect of having the
file transferred even if the page timeouts. But setting
timeout to 0 does work for me..could you try the latest
snapshot from http://snaps.php.net/ to see if it works for you?
And about that 'background' ftp transfer..I don't know if
it could be called bug but a feature? =)
--Jani
---------------------------------------------------------------------------
[2000-10-15 22:02:33] hxr2000@21cn.com
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?
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7232