| 
	
 | 
 Posted by Ivαn Sαnchez Ortega on 03/02/07 00:58 
Alex wrote: 
 
> Hello, 
>  
> I'm trying to write a little php script to transfert some 
> files from a server to clients (web/http). 
>  
> It's working fin with small files. But transfering big files 
> (try on 1Gb) failed! The transfert is stoped randomly (sometimes 
> at 25%, sometimes at 75%,...). 
[...] 
> Someone has an genius idea for me? 
 
Most probably, your script is dying because it has used its 30 sec time 
slice. You can try to feed a higher number to set_time_limit(), but I don't 
recommend that. 
 
For files that large, rely on the web server directly. 
 
--  
---------------------------------- 
IvΓ‘n SΓ‘nchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org- 
 
http://acm.asoc.fi.upm.es/~mr/ ; http://acm.asoc.fi.upm.es/~ivan/ 
MSN:i_eat_s_p_a_m_for_breakfast@hotmail.com 
Jabber:ivansanchez@jabber.org ; ivansanchez@kdetalk.net
 
  
Navigation:
[Reply to this message] 
 |