Using the COM API

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

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

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:

For an alphabetized list of every interface, method, property, enumeration, and constant, refer to the Index.

Available Interfaces

For example: Set Site = Sites.Item(0)