wwFtpClient::AddCertificate

Allows you to add a client certificate for the request to allow for TLS connections with non-public certificates.

The certificate should be a .cer or .p12 file - not a .pem file.

loFtp = CREATEOBJECT("wwFtpClient")
loFtp.lUseTls = .t.
loFtp.cServer = "ftp.myserver.com:23"

loFtp.AddCertificate("
o.AddCertificate(lcCertFile)

Parameters

lcCertFile


See also:

Class wwFtpClient

© West Wind Technologies, 2024 • Updated: 06/02/24
Comment or report problem with topic