| Bug #7232 | Is it a ftp bug | ||||
|---|---|---|---|---|---|
| Submitted: | 15 Oct 2000 10:02pm UTC | Modified: | 30 Dec 2000 8:22pm UTC | ||
| From: | hxr2000 at 21cn dot com | Assigned to: | |||
| Status: | Closed | Category: | FTP related | ||
| Version: | 4.0.2 | OS: | Linux Mandrake release 7.1(Kerne | ||
[23 Nov 2000 4:55am UTC] 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
[30 Dec 2000 8:22pm UTC] sniper@php.net
No feedback. --Jani

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?