Description | Example | Return Message | Group

ADF

Configure ADF servers (Deprecated Command)

Syntax

ADF <ApplicationPath> {Option} [<Parameters>]

ATTENTION: THIS COMMAND IS DEPRECATED and has been replaced by:

SDF

Description

Note: This command was deprecated in STK 10, it should no longer be used. This command has been replaced by the SDF command.

The ADF connect command sets configuration parameters for the AGI Data Federate (ADF) servers in STK.

{Option} Description
AddServer <Parameters> Add the specified server. See the table below for a description of the <Parameters>
UpdateServer <Parameters> Remove the specified server. See the table below for a description of the <Parameters>
RemoveServer Name <ServerName> Remove the specified server.
RemoveAllServers Remove all servers.
AddFolder <FolderPath> Recursively create the specified folder location on the server.
RemoveFolder <FolderName> Remove the specified folder from the ADF server.
RemoveFile <FileName> Remove the specified file from the ADF server.

The following table describes the <Parameters> for the AddServer and UpdateServer options.

<Parameters> Description
Name <ServerName> Specify the name of the server.

Note: This <Parameter> is required for AddServer and UpdateServer.

NewName <NewServerName> Specify a new name for the server.

Note: This <Parameter> is valid for UpdateServer only.

URL <URL> Specify the url location of the server.

Note: This <Parameters> is required for AddServer.

Description <Description> Specify a description for the server.
Username <Username> Specify the username for the server.
Password <Password> Specify the password for the server.
SaveCredentials {Yes | No} Indicate whether username and password for the server should be stored in STK.
MakeActiveServer {Yes | No} Indicate whether to make this server the active server.

Example

To add a new server and make it the active server:

ADF / AddServer Name Test1 URL "C:\Program Files\AGI\Test1" MakeActiveServer Yes

To create a folder on the server:

ADF / AddFolder Users/stkUser/MyStuff/stuff

To remove the Test1 server from the ADF:

ADF / RemoveServer Name Test1

ReturnMessage

If activated, Connect returns an acknowledgement message.

Group Membership

This command belongs to the following group(s):

Application Options

Deprecated Commands

Version

10

STK Programming Interface 11.0.1