|
This online help file is for EFT Server version 6.2.x. For other versions of EFT Server, please refer to http://help.globalscape.com/help/index.html. (If the Index and Contents are hidden, click Show Contents pane in the top left corner of this topic.) |
Use the ICISite interface SetSSHKeyFilePath method to change the SSH Certificate file path. If the site must be restarted for the change to take effect, SetSSHKeyFilePath method returns TRUE.
|
This method is available in EFT Server 4.3.4 and later. |
Signature:
HRESULT SetSSHKeyFilePath(
[in] VARIANT_BOOL newVal,
[out, retval] VARIANT_BOOL *pNeedRestart);
Example:
Dim bNeedRestart: bNeedRestart = oSite.SetSSHKeyFilePath("C:\Keys\Key.pvk")
If bNeedRestart Then
Call oSite.Stop()
Call oSite.Start()
End If
Refer to Site Certificates and Keys Parameters for an illustration of how this and other ICISite methods can be accessed in the administration interface.