cURL / Mailing Lists / curl-library / Single Mail


Re: Connect only

From: Daniel Stenberg <>
Date: Wed, 3 Dec 2008 20:07:01 +0100 (CET)

On Wed, 3 Dec 2008, Dan Fandrich wrote:

> Still, you'd expect libcurl to do something sane in that case. I suspect
> it's simply never been tried and CURLOPT_CONNECT_ONLY with FTP is buggy.

Yes, I agree with that suspicion.

But also, with CURLOPT_CONNECT_ONLY the protocol part of the URL has very
little meaning (I figure default port and whether TCP or UDP basically) so
trying a http:// URL on port 21 as a work-around should be easy enough!

Received on 2008-12-03