ICIEncrypted Folder
The Encrypted Folder interface is used to specify a folder in which files are encrypted.
-
Property EncryptionKey As String
Allows specifying which encryption key will be used to encrypt folder. This property can take following values:
If value is empty, then site key will be used to encrypt folder.
Example (VBScript): Specifying:
Set encryptedFolder = WScript.CreateObject("SFTPCOMInterface.CIEncryptedFolder") encryptedFolder.Path = "C:\InetPub\EFTRoot\MySite\EncryptedFolder\" encryptedFolder.EncryptionKey = "" site.AddEncryptedFolder(encryptedFolder)
EFT v8.0.6
Property KeyAlias As String
Allows specifying optional encryption key alias. Only used if the encryption key is not empty.
If value is an encryption key string, then this key will be used encrypt folder.
Example (VBScript): Specifying:
Set encryptedFolder = WScript.CreateObject("SFTPCOMInterface.CIEncryptedFolder") encryptedFolder.Path = "C:\InetPub\EFTRoot\MySite\EncryptedFolder\" encryptedFolder.EncryptionKey = "634774224c47619954783532e130c35f467ce06464e86b133c44c16637d83c3ba" encryptedFolder.KeyAlias = "Greg's custom key" WScript.Echo "New encryption key: " & encryptedFolder.EncryptionKeysite.AddEncryptedFolder(encryptedFolder)
Eft v8.0.6
HRESULT Path([out, retval] BSTR *pVal); HRESULT Path([in] BSTR newVal);
EFT v7.4.13