cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Data Port connection with SSL/FTP

From: <Matthew_Ivey_at_genpt.com>
Date: Mon, 11 Dec 2006 17:26:43 -0500

I'm trying to make a connection and pass Data on a certain port (range of
20050 - 20750).

Am I setting the up correctly, and what can I determine from the trace:

Curl Command:

C:\Temp>curl --ftp-ssl -u UCE0933A:1GNNPRTS --use-ascii --ftp-port -
--local-por
t 20049-20750 --trace-ascii teresa.out
ftp://onlinefiletransfer.suntrust.com:200
21//OFT0084

Trace:

== Info: About to connect() to onlinefiletransfer.suntrust.com port 20021
== Info: Trying 167.181.46.51... == Info: Local port: 20049
== Info: connected
== Info: Connected to onlinefiletransfer.suntrust.com (167.181.46.51) port
20021
<= Recv header, 99 bytes (0x63)
0000: 220 <<<Connect:Enterprise UNIX 2.1.01 Secure FTP>>> at ga016w9f
0040: FTP server ready. Time = 14:11:19
=> Send header, 10 bytes (0xa)
0000: AUTH SSL
<= Recv header, 24 bytes (0x18)
0000: 234 AUTH TLS-P/SSL OK.
== Info: SSL: couldn't set callback!
== Info: successfully set certificate verify locations:
== Info: CAfile: c:\messageway\curl\curl-ca-bundle.crt
  CApath: none
== Info: SSL connection using DES-CBC3-SHA
== Info: Server certificate:
== Info: subject: /C=US/ST=Georgia/L=Atlanta/O=SunTrust
Bank/OU=GA016AF0
/CN=onlinefiletransfer.suntrust.com
== Info: start date: 2006-04-21 17:25:59 GMT
== Info: expire date: 2007-05-22 17:25:59 GMT
== Info: common name: onlinefiletransfer.suntrust.com (matched)
== Info: issuer: /C=US/O=Equifax/OU=Equifax Secure Certificate
Authority
== Info: SSL certificate verify ok.
=> Send header, 15 bytes (0xf)
0000: USER UCE0933A
<= Recv header, 37 bytes (0x25)
0000: 331 Password required for UCE0933A.
=> Send header, 15 bytes (0xf)
0000: PASS 1GNNPRTS
<= Recv header, 66 bytes (0x42)
0000: 230 Connect:Enterprise UNIX login ok, access restrictions apply.
=> Send header, 8 bytes (0x8)
0000: PBSZ 0
<= Recv header, 16 bytes (0x10)
0000: 200 PBSZ 0 OK.
=> Send header, 8 bytes (0x8)
0000: PROT P
<= Recv header, 46 bytes (0x2e)
0000: 200 PROT P OK, data channel will be secured.
=> Send header, 5 bytes (0x5)
0000: PWD
<= Recv header, 39 bytes (0x27)
0000: 257 "/UCE0933A" is current directory.
== Info: Entry path is '/UCE0933A'
== Info: Telling server to connect to 192.168.1.149:2521
=> Send header, 26 bytes (0x1a)
0000: PORT 192,168,1,149,9,217
<= Recv header, 30 bytes (0x1e)
0000: 200 PORT command successful.
== Info: Connect data stream actively
=> Send header, 8 bytes (0x8)
0000: TYPE A
<= Recv header, 20 bytes (0x14)
0000: 200 Type set to A.
=> Send header, 14 bytes (0xe)
0000: SIZE OFT0084
<= Recv header, 69 bytes (0x45)
0000: 550 Operation is not supported under Connect:Enterprise FTP serv
0040: er.
=> Send header, 14 bytes (0xe)
0000: RETR OFT0084
<= Recv header, 47 bytes (0x2f)
0000: 550 *** ERROR *** NO BATCHES FOR TRANSMISSION
== Info: RETR response: 550
== Info: Remembering we are in dir /
== Info: Connection #0 to host onlinefiletransfer.suntrust.com left intact
=> Send header, 6 bytes (0x6)
0000: QUIT
<= Recv header, 14 bytes (0xe)
0000: 221 Goodbye.
== Info: Closing connection #0

// Any Information on this would be greatly appreciated.

Thanks,
Matt Ivey
Received on 2006-12-11

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET