Description | Example | Return message | Group

SDFUpload

Ability to upload and download files to the SDF.

Syntax

SDF / {Upload/Download} <Filepath> <VDFPath>

Related commands

Your SDF Authentication Credentials enable you to use Connect commands with the STK Data Federate (SDF).

Description

The SDFUpload and download connect command allows a user to upload or download files to and from the STK Data Federate (SDF) server from their machine.

You must specify the destination filename, but folders will not be created if they do not exist. Commands will NACK if the source or destination does not exist or is not writable. You can rename the file.

The format for uploading a file is:

SDF / Upload <LocalPath> <SDFPath>

The <LocalPath> is the file path of the file on your machine. This can be seen on the File dialog box.

The <SDFPath> is the location on the SDF where you want to save the file.

The format for downloading files is:

SDF / Download <SDFPath> <LocalPath>

The <SDFPath> is the location on the SDF where you want to save the file.

The <LocalPath> is the file path of the file on your machine. This can be seen on the File dialog box.

Examples

To upload a file to the SDF:

SDF / Upload "C:\Users\User\Desktop\Conlog.txt" "AGI SEDS SDF://User Homes/User@agi.com/IPCTestFolder/ConLog.txt"
SDF / Upload "C:\Users\User\Desktop\Conlog.txt" "https://sdf.agi.com/User Homes/User/IPCTestFolder/ConLog.txt"

To download a file from the SDF:

SDF / Download / "AGI SEDS SDF:\\User Homes/User@agi.com/IPCTestFolder/ConLog.txt" "C:/Users/User/Desktop/ConLogDownload.txt"
SDF / Download / "https:\\sdf.agi.com/User Homes/User@agi.com/IPCTestFolder/ConLog.txt" "C:/Users/User/Desktop/ConLogDownload.txt"

Return message

Group membership

This command belongs to the following group(s):

Scenarios

Version

12.1