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

Re: Data Port connection with SSL/FTP

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 12 Dec 2006 16:53:43 +0100 (CET)

On Tue, 12 Dec 2006, Matthew_Ivey_at_genpt.com wrote:

Please trim your quotes to only contain relevant pieces for the continued
conversation, and please use sensible mail subjects.

> Ok, I've made some changes. It looks like the ports are being set correctly.
> However, I can't seem to pass data. the connection just sits after the STOR
> command.

[...]

> == Info: About to connect() to onlinefiletransfer.suntrust.com port 20021
> == Info: Trying 167.181.46.51... == Info: connected
> == Info: Connected to onlinefiletransfer.suntrust.com (167.181.46.51) port
> 20021
> 0040: FTP server ready. Time = 09:57:46
> => Send header, 10 bytes (0xa)
> 0000: AUTH SSL
> <= Recv header, 24 bytes (0x18)
> 0000: 234 AUTH TLS-P/SSL OK.
>
> <= Recv header, 47 bytes (0x2f)
> 0000: 227 Entering Passive Mode (10,49,53,32,78,82)
> == Info: Trying 10.49.53.32... == Info: connected
> == Info: Connecting to 10.49.53.32 (10.49.53.32) port 20050
> => Send header, 8 bytes (0x8)
> 0000: TYPE A
> <= Recv header, 20 bytes (0x14)
> 0000: 200 Type set to A.
> => Send header, 15 bytes (0xf)
> 0000: STOR test.txt

At this point libcurl sends/should send data to the remote host over the data
connection. If it doesn't, you need to continue investigating why it doesn't.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-12-12

These mail archives are generated by hypermail.

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

File upload with ASP.NET