Dart Ftp Control
Load Method
The full filepath to a .pfx file.
If the .pfx file is password protected, specifies the password to use to open the file.
Description
Loads the certificates in a certificate file into the Certificate Store.
Syntax
Visual Basic
Public Sub Load( _
   ByVal CertFileName As String, _
   Optional ByVal Password As String _
) 
Parameters
CertFileName
The full filepath to a .pfx file.
Password
If the .pfx file is password protected, specifies the password to use to open the file.
Remarks

Use this method to load certificates contained in a digital certificate file (.pfx file) into the CertificateStore. The desired certificate can then be chosen from the store.

Using the Load method sets the StoreLocation property to locationRemote and the StoreName property to "". The values of CertFileName and Password passed in are saved internally to be used when the Refresh method is called. If either the StoreLocation or StoreName properties are set, the internal CertFileName and Password are cleared.

Error Codes

This method may generate the following error code (refer to ErrorConstants for a complete list of error codes):

See Also

CertificateStore Object  | CertificateStore Members


PowerTCP FTP for ActiveX Documentation Version 2.2
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic