Re: intermittent problems using ftp_get ...Help!
| From: | Raditha Dissanayake | Date: | Tue, 13 Apr 2004 14:56:55 +0000 |
| Subject: | Re: intermittent problems using ftp_get ...Help! | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-183238@lists.php.net to get a copy of this message | ||
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 randomly (in most cases), the port chosen may be blocked by the firewall.In fact it's quite common to see firewalls that have port 21 open but the firewall administrator has completely forgotten about the data connection.
-- Raditha Dissanayake. --------------------------------------------- http://www.radinks.com/print/upload.php SFTP, FTP and HTTP File Upload solutionsfilesHi all Can anyone tell me what would cause intermittent problems downloadinggivingusing 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 upa timeout error. Also it seems it can be any file.