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.) |
You can interact directly with EFT Server from your own custom applications using any COM-enabled programming language such as Visual Basic (VB), Java, or C++. You can create a script with the development IDE of your choice.
To create a new script file, you must be familiar with programming concepts and should have experience with COM-enabled programming languages.
Performing complex yet repetitive administrative tasks over a large enterprise can be very time consuming in a user interface. With scripting, you can automate tasks to save time and avoid user error. With COM API support, you can interact with EFT Server directly from your own custom applications using any COM-enabled programming language with the integrated development environment (IDE) of your choice. To create a new script file or program, you must have familiarity with programming concepts and, ideally, some experience with a COM-enabled programming language. This guide assumes you know how to create and execute a script. The guide only provides descriptions of the classes, methods, and properties in the COM API. Few examples are provided; if you need assistance creating scripts, GlobalSCAPE Professional Services can create custom scripts for you.
Be sure to heavily document/comment your script. Adding descriptive comments to your script now will remind you and others of the purpose of the script, and makes it easier to borrow sections of script to use later in other scripts. A year from now, when you don't even remember writing the script, you'll be glad you added comments. |
To find the interface, method, or property that you need to use in your script
Look in the Contents of this user guide, which lists actions you might want to perform (e.g., Retrieving the File Path for Certificates (GetCertFilePath))
Use the Search feature in this user guide (online or PDF) to locate words or phrases within the content of the topics. (e.g., "certificate" yields ~50 topics; "certificate country" yields ~12 topics)
Look in the Index tab of the help, which provides an alphabetical listing of every method and property in the COM API. (e.g., GetCertFilePath, GetChangePwd, GetCheckClientCert)
This guide is intended as a supplement to the EFT Server user guide. For an understanding of the concepts in this supplement, please refer to those guides. |
The SFTPCOMInterface.CIServer class is the class that an application can use directly. To start using the SFTP COM interface, you create the SFTPCOMInterface.CIServer class object, and then apply the methods and properties in the object.
For example: Set SFTPServer = CreateObject("SFTPCOMInterface.CIServer")
CIServer implements the ICIServer interface.
For script examples, refer to Creating Scripts.
Refer to the following Web sites for helpful information regarding scripting:
VBScript Run-time Errors - Reference of run-time errors.
VBScript Syntax Errors - Reference of syntax errors
Microsoft Windows Script Technologies - Lists the Windows script technologies and describes the functionality included in each technology.
For an alphabetized list of every interface, method, property, enumeration, and constant, refer to the Index. |
Server Interface (ICIServer) - Use the ICIServer interface to access and manage the Server and its attributes.
Multiple Sites Interface (ICISites) - Use the ICISites interface to list all Sites, to add Sites, and to find individual Sites on the Server. It can be obtained by using the Sites method of the ICIServer interface.
Single-Site Interface (ICISite) - Use the ICISite interface to manage individual Sites on the server. It can be obtained by using the Item and SiteByID methods of the ICISites interface.
For example: Set Site = Sites.Item(0)
Permissions Interface Properties - Use the IPermission interface to set and manage folder permissions. Use ICISite::GetFolderPermissions to get folder permissions.
Audit Interface Methods - Use the ICIAudit interface to log a Secure Ad Hoc Transfer (SAT) email, file, or transaction. Use ICIServer Auditor to retrieve the Audit interface.
Client Settings Interface (ICIClientSettings) - Use the ICIClientSettings interface to manage client user or client group settings. Use ICISite::GetSettingsLevelSettings for group and ICISite::GetUserSettings for client.
Command Settings Interface (ICICommandSettings) - Use the ICICommandSettings interface to create or manage Site custom commands. Use ICISite::GetCommandSettings to access the interface.
Certificate Information Interface (ICICertInfo) - Use the ICICertInfo interface to obtain information about certificates. Use ICISite::GetTrustedCertificateInfo or ICISite::GetPendingCertificateInfo to access the interface.
Event Rule Interfaces - (Added in EFT Server v5.2) Use the Event Rule interfaces to manage Event Rules and their Events, Actions, and Conditions.
Report Information Interface (ICIReportInfo) - (Added in EFT Server v6.1) Use the ICIReportInfo interface to retrieve information about EFT Server reports.
SSH Key Information Interface (ICISSHKeyInfo) - (Added in EFT Server v6.1) Use the ICISSHKeyInfo interface to retrieve information about EFT Server’s SSH public keys.