Configure ADF servers (Deprecated Command)
ADF <ApplicationPath> {Option} [<Parameters>]
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. |
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
If activated, Connect returns an acknowledgement message.
This command belongs to the following group(s):
10
STK Programming Interface 11.0.1