PHP Bugs  
php.net | support | documentation | report a bug | advanced search | search howto | statistics | login

go to bug id or search bugs for  

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
View/Vote Developer Edit Submission

Welcome! If you don't have a SVN account, you can't do anything here. You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
SVN Username: SVN Password:
Quick Fix:
Status: Assign to:
Category:
Summary:
From: hxr2000 at 21cn dot com
New email:
Version: OS:
New/Additional Comment:

[15 Oct 2000 10:02pm UTC] hxr2000 at 21cn dot 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 timeoutCthe 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?
[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

RSS feed | show source 

PHP Copyright © 2001-2009 The PHP Group
All rights reserved.
Last updated: Sat Nov 21 10:30:49 2009 UTC