|
Posted by C. on 07/16/07 13:48
On 16 Jul, 11:52, "John" <john1...@yahoo.com> wrote:
> Hi
>
> There is an odd problem.
> The following works fine on one web server, but the same code hangs on a
> different server.
> I can login but the problem is at the following line.
>
> $down=ftp_fget($connect,$handle,$remotefile,FTP_BINARY);
>
> Any ideas why this is happening?
FTP uses a second connection for data (first connection used for
control) which can cause problems with firewalls. Try using passive
mode (ftp_pasv())
HTH
C.
Navigation:
[Reply to this message]
|