Dart Ftp Control
Certificate Event
Description
Fires when the remote host is requesting a certificate and the Certificate property is not set to a valid Certificate Object.
Syntax
Visual Basic
Public Event Certificate()
Remarks
This event is used to set a certificate on demand. In some cases a server will request that the client authenticate, and it may not be desirable to set the Certificate property unless necessary.
Example
Private Sub Ftp1_Certificate ()
	Dim Store As New CertificateStore
	'Get the desired certificate
	Ftp1.Certificate = Store.Find("ROOT", locationLocalMachine, g_SavedIssuedBy, g_SavedSerialNumber)
	'Or you could pop up a list box so the user could select a certificate
End Sub
See Also

Ftp Object  | Ftp Members


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