Re: intermittent problems using ftp_get ...Help!
| From: | Red Wingate | Date: | Tue, 13 Apr 2004 14:19:45 +0000 |
| Subject: | Re: intermittent problems using ftp_get ...Help! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-183222@lists.php.net to get a copy of this message | ||
Maybe the max number of connections to the FTP server is reached? My
provider allows only up to 3 FTP connections at the same time which causes
similar problems to my scripts :-)
-- red
[...]
> Can anyone tell me what would cause intermittent problems downloading files
> using ftp_get.
> I have a php file that regularly connects to a number of servers in turn
> using php's (ftp functions) and downloads files using ftp_get(...). This
> usually works but often it just fails to download a file and ends up giving
> a timeout error. Also it seems it can be any file.
>
> I just cannot understand why when I run the script a number of times in
> sucsession this will sometimes but not others. Any ideas?
[...]