cURL / Mailing Lists / curl-library / Single Mail


Re: libcurl: Problem when connect to a shared hosting server over ftp+ssl

From: Nick Zitzmann <>
Date: Mon, 4 Feb 2013 20:26:19 -0700

On Feb 4, 2013, at 7:14 PM, chu ngoc hung <> wrote:

> Thanks for your rely,
> Yes, I use to connect to my host only for research purpose, and I've got a success result for a FTP-SSL connection to connect to my local server (self-signed certificate).
> With current server ( when i disable host or peer verification the connection is always timeout (both EPSV and PASV)
> I've got the same result with FileZilla client but when I use Cyberduck client the result is OK (although it alert me that the certificate is invalid before it connect success).
> And I use explicit FTP-SSL because this server support this type only.

I guess the next step, then, is to compare the connection transcripts with the different clients and find out what Cyberduck is doing differently than Curl, and report back if you find anything. If you can't get accurate connection transcripts, you may need to use a man-in-the-middle proxy to decode the connections… Obviously TLS/SSL connection debugging is not as easy as clear-text connection debugging.

Nick Zitzmann

List admin:
Received on 2013-02-05