cURL / Mailing Lists / curl-library / Single Mail

curl-library

curl and firewall

From: lostsandman <lostsandman_at_gmail.com>
Date: Mon, 14 Aug 2006 16:13:02 +0100

hello,

I use the curl library in my program to do ftp and recently i have came
across problem which i think is firewall related.

When i ever i try to connect to a server it times out so i download the
latest version of curl.exe to get some debug info and here is what i got

 E:\>curl ftp://ftpserver -v --disable-epsv
* About to connect() to dbaserver.no-ip.org port 21
* Trying *ftpserver* connected
* Connected to dbaserver.no-ip.org (*ftpserver* ) port 21
< 220 - NOTICE - For Authorized Use Only
> USER dbaoperators
< 331 Password required for dbaoperators
> PASS XXX
< 230 Logged on
> PWD
< 257 "/" is current directory.
* Entry path is '/'
> PASV
* Connect data stream passively
< 227 Entering Passive Mode (*ftpserver* ,11,140)
* Trying *ftpserver* ... Timed out
* couldn't connect to host
* Connection #0 to host *ftpserver* intact
curl: (7) couldn't connect to host
* Closing connection #0

As you can see i connetc and log in but but when i try to open the data
connection it times out. Any ideas as to why this may be the case?

Thanks
Received on 2006-08-14