|
To check if an edge client is connected, navigate to the Thing in ThingWorx Composer and check the isConnected and isReporting properties. If the value of either property is true, the edge client is connected and available for a file transfer.
|
|
Even with queueable set to true, it is possible for a file transfer to fail if the device disconnects during the transfer.
|
Parameter
|
File Download
|
File Upload
|
---|---|---|
sourceRepo
|
The Thing Name of the File Repository from which the file is downloaded.
|
The Thing Name of the EMS device from which to upload the file.
|
sourceFile
|
The name of the file to be downloaded to the device. For example, test.txt.
|
The name of the file to be uploaded to the ThingWorx Platform from the device.
|
sourcePath
|
The path to the file to be downloaded from the File Repository that you specified for the source repository. If this parameter is left blank, the file is assumed to be at the root of the File Repository.
|
The path to the file on the device that you want to upload. If this parameter is left blank, the file is assumed to be at the root of the configured file repository of the EMS.
|
targetRepo
|
The Thing Name of the device to which you want to download the file.
|
The Thing Name of the File Repository to which the file will be uploaded.
|
targetFile
|
The name of the file as it should exist on the device. If you want to use a different name, you might type successfulTest.txt.
|
If the file being uploaded is compressed, which is the default behavior, this parameter is ignored.
If a single file is being uploaded uncompressed, this parameter specifies the name of the file as it should exist on the File Repository Thing.
|
targetPath
|
The path on the device to which the file will be downloaded.
If this parameter is left blank, the file is assumed to be at the root of the configured file repository of the device.
|
The path to the file in the File Repository where the file is uploaded.
If this parameter is left blank, the file is uploaded to the root of the File Repository.
|