Re: intermittent problems using ftp_get ...Help!
| From: | Keith | Date: | Tue, 13 Apr 2004 14:51:54 +0000 |
| Subject: | Re: intermittent problems using ftp_get ...Help! | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-183235@lists.php.net to get a copy of this message | ||
Hi Red
Thanks, I had wondered about connection limitations, but frankly I'd be
surprised if that were the problem.
But as we are on this subject, I use proftpd and the MaxClients value is not
set yet. As I understand it I can set MaxClients to 'none' which removes any
maximum restriction. But what is the default number of connections allowed?
My proftpd version 1.2.5
Server = Cobalt Raq4
Thanks again
K
"Red Wingate" <redeye@erisx.de> wrote in message
news:200404131619.45918.redeye@erisx.de...
> 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?
> [...]