cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: TLSv1 Application Data

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 26 Dec 2007 23:47:24 +0100 (CET)

On Wed, 26 Dec 2007, David Colter wrote:

> Can anyone advise if curl will enable a script to send and receive
> 'application data' in TLSv1 SSL mode (uncovered with Wireshark)? When I type
> in the info, I can see what looks like hex code for a length of 35 in TLSv1
> and a response of 48 in TLSv1 and 3 more frames for a total of 5 frames
> being transfered. 3 were TLS and 2 were TCP.

curl and libcurl can do it, but only as part of a HTTPS transfer.

> Is this what the FTP functions of cURL are able to do?

No, when you use curl to transfer FTP curl will speak the FTP protocol. If
used to speak FTPS (sometimes called ftp-ssl) it will simply do SSL (or
TLS)-enabled FTP.

> I'm basically trying to build an 'emulator' to perform the function of my
> company's 'host terminal emulator'.

To me it sounds like curl isn't the tool you're looking for.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2007-12-26