Re: [PHP] intermittent problems using ftp_get ...Help!

2004-04-13 Thread Raditha Dissanayake
Keith wrote: But that's just it , I am using ftp_pasv($idconn, true) and yes I have placed it after the connection and login statement. refer my other post about random ports. -- Raditha Dissanayake. - http://www.radinks.com/print/upload.php SFTP, FT

Re: [PHP] intermittent problems using ftp_get ...Help!

2004-04-13 Thread Keith
But that's just it , I am using ftp_pasv($idconn, true) and yes I have placed it after the connection and login statement. Any other ideas? K "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > * Thus wrote Keith ([EMAIL PROTECTED]): > > Well the servers do indeed have fir

Re: [PHP] intermittent problems using ftp_get ...Help!

2004-04-13 Thread Curt Zirzow
* Thus wrote Keith ([EMAIL PROTECTED]): > Well the servers do indeed have firewalls! But why would this be > intermittent and how can I get around this WITHOUT removing the firewall :) ftp servers behind firwalls tend to require PASV to be on. check out http://php.net/ftp_pasv Curt -- "I used t

Re: [PHP] intermittent problems using ftp_get ...Help!

2004-04-13 Thread Raditha Dissanayake
Keith wrote: Well the servers do indeed have firewalls! But why would this be intermittent and how can I get around this WITHOUT removing the firewall :) FTP operates on two ports, the first is for the control connection and it's on 21, the second one is for data connections and it's chosen

Re: [PHP] intermittent problems using ftp_get ...Help!

2004-04-13 Thread Keith
Well the servers do indeed have firewalls! But why would this be intermittent and how can I get around this WITHOUT removing the firewall :) Thanks K "Raditha Dissanayake" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Keith wrote: > > >Hi all > > > >Can anyone tell me what would

Re: [PHP] intermittent problems using ftp_get ...Help!

2004-04-13 Thread Keith
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

Re: [PHP] intermittent problems using ftp_get ...Help!

2004-04-13 Thread Raditha Dissanayake
Keith wrote: Hi all 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

Re: [PHP] intermittent problems using ftp_get ...Help!

2004-04-13 Thread Red Wingate
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

[PHP] intermittent problems using ftp_get ...Help!

2004-04-13 Thread Keith
Hi all 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 fi