curl / Mailing Lists / curl-library / Single Mail

curl-library

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

From: TJ Saunders <tj_at_castaglia.org>
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.

See:

  https://tools.ietf.org/html/rfc2389#section-3.2

Hope this helps,
TJ
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-04-10