curl / Mailing Lists / curl-library / Single Mail


Re: FTPS: "SSL certificate problem: Invalid certificate chain" error

From: TJ Saunders <>
Date: Mon, 10 Apr 2017 09:49:39 -0700

> This is not a rule of thumb, but most FTP servers tell you whether they
> support EPSV upon receiving the "HELP" command. The HELP reply format is
> unfortunately not structured and may differ from one server to another.

Alternatively, you could use the FEAT command. Most FTP servers which
support EPSV will list EPSV (and/or EPRT) in their FEAT response. The
FEAT response is much more structured, making it easier to parse.


Hope this helps,
Received on 2017-04-10