|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
TimeOut error downloading from FTP x2
Hello, is there an alternative way to set Time Out value.... without touching the php.ini file?
My problem is 1- The file downloads but I get a 30 seconds timeout error... I know i can solve this changing the php.ini file value to up to 180 seconds... but if the file is bigger? 2- I have diffrent output texts for the FTP connection provess like: errors, conected, etc... but they never show up, only when the connection is closed. Can I make something like sleep or something to solve this too? Thank you.
__________________
Quasar Web Design HTML 2 PHP Costarica-Travelinfo.com free online booking services |
|
#2
|
||||
|
||||
|
use set_time_limit(). You can either up it to a larger timeout, or you can use 0 for a value which will make it never timeout.
|
![]() |
| Viewing: Dev Shed Forums > System Administration > FTP Help > TimeOut error downloading from FTP x2 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|