cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Bug in cURL?? (command line w/ "--local-port" option)...

From: Scott Fletcher <fletchsod_at_yahoo.com>
Date: Fri, 24 Nov 2006 08:42:34 -0800 (PST)

I took the liberty of downloading the Windows cURL and
test it on my laptop. I still get this same problem.

The command I issued is

--snip--
curl -v -T "file_testcase.txt" --disable-epsv
--disable-eprt --ftp-pasv --ftp-ssl -u "***:***"
"ftp://onlinefiletransfer.suntrust.com:20021//ARAUTOAC"
--snip--

And the response I got is below. The reason I got
error is the incorrect connection to the 2nd IP
address below...

--snip--
* About to connect() to
onlinefiletransfer.suntrust.com port 20021 (#0)
* Trying 167.181.46.51... connected
* Connected to onlinefiletransfer.suntrust.com
(167.181.46.51) port 20021 (#0)
< 220 <<<Connect:Enterprise UNIX 2.1.01 Secure FTP>>>
at ga016w9f FTP server rea
dy. Time = 11:35:19
> AUTH SSL
< 234 AUTH TLS-P/SSL OK.
* successfully set certificate verify locations:
* CAfile: C:\curl-7.16.0\curl-ca-bundle.crt
  CApath: none
* SSLv2, Client hello (1):
} [data not shown]
* SSLv3, TLS handshake, Server hello (2):
{ [data not shown]
* SSLv3, TLS handshake, CERT (11):
{ [data not shown]
* SSLv3, TLS handshake, Server finished (14):
{ [data not shown]
* SSLv3, TLS handshake, Client key exchange (16):
} [data not shown]
* SSLv3, TLS change cipher, Client hello (1):
} [data not shown]
* SSLv3, TLS handshake, Finished (20):
} [data not shown]
* SSLv3, TLS change cipher, Client hello (1):
{ [data not shown]
* SSLv3, TLS handshake, Finished (20):
{ [data not shown]
* SSL connection using DES-CBC3-SHA
* Server certificate:
* subject:
/C=US/ST=Georgia/L=Atlanta/O=SunTrust
Bank/OU=GA016AF0/CN=onli
nefiletransfer.suntrust.com
* start date: 2006-04-21 17:25:59 GMT
* expire date: 2007-05-22 17:25:59 GMT
* common name: onlinefiletransfer.suntrust.com
(matched)
* issuer: /C=US/O=Equifax/OU=Equifax Secure
Certificate Authority
* SSL certificate verify ok.
> USER ***
< 331 Password required for UCE1797.
> PASS ***
< 230 Connect:Enterprise UNIX login ok, access
restrictions apply.
> PBSZ 0
< 200 PBSZ 0 OK.
> PROT P
< 200 PROT P OK, data channel will be secured.
> PWD
< 257 "/UCE1797" is current directory.
* Entry path is '/UCE1797'
> PASV
* Connect data stream passively
< 227 Entering Passive Mode (10,49,53,32,78,82)
* Trying 10.49.53.32... Timed out
* couldn't connect to host
* Remembering we are in dir /ARAUTOAC
* Uploaded unaligned file size (0 out of 110 bytes)
  % Total % Received % Xferd Average Speed Time
  Time Time Current
                                 Dload Upload Total
  Spent Left Speed
  0 0 0 0 0 0 0 0 --:--:--
 0:00:22 --:--:-- 0*
Connection #0 to host onlinefiletransfer.suntrust.com
left intact

curl: (7) couldn't connect to host
* Closing connection #0
* SSLv3, TLS alert, Client hello (1):
} [data not shown]
--snip--

So, why is it not working?

Thanks,
 Scott

--- Dan Fandrich <dan_at_coneharvesters.com> wrote:

> You shouldn't need a --local-port nor --quote here.
> Change the URL to
>
ftp://onlinefiletransfer.suntrust.com:20021//ARAUTOAU
> instead of doing a
> manual CWD.
>
> >>> Dan
> --
> http://www.MoveAnnouncer.com The web
> change of address service
> Let webmasters know that your web site has
> moved
>
Received on 2006-11-24