Have you tried passive mode?

Vinod wrote:

> Hi friends,
>
> I am having a DSL Internet connectivity in our office and my PC is
> connected to Internet using a HTTP/FTP Proxy(192.168.0.10) and the
> browser(Mozilla) in my PC is configured to connect to net through the
> proxy
>
> When I tried to connect to our ftp site using the following script, I
> have received the message that Unable to connect.  But the same script
> is working fine with a direct modem connection.
>
> The script is
>
> // connect to ftp server
>
> if(!($ftp=ftp_connect("ftp.dirw.net")))
>         {
>         print("Unable to connect<br>");
>         exit;
>         }
>
> Please suggest me on how to connect to the ftp site using the proxy
> server.
>
> Regards,
>
> Vinod.B


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to