|
Even with queueable set to true, it is possible for a file transfer to fail if the device disconnects during the transfer. To work around this possibility, configure the eMessage Connector to retry file transfers (in the emessage-ha-sample.conf configuration file). See Configuring Additional Parameters for File Transfers.
|
|
Even with queueable set to true, it is possible for a file transfer to fail if the device disconnects during the transfer. To work around this possibility, configure the eMessage Connector to retry file transfers (in the emessage-ha-sample.conf configuration file). Refer to Configuring Additional Parameters for File Transfers.
|
Parameter
|
File Download
|
File Upload
|
---|---|---|
sourceRepo
|
The Thing name of the File Repository from which the file is downloaded.
|
The Thing name of the Axeda agent device from which to upload the file.
|
sourceFile
|
The name of the file to be downloaded to the agent device. For example, test.txt.
|
The name of the file to be uploaded to the ThingWorx Platform from the agent 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 agent device that you want to upload. If this parameter is left blank, the file is assumed to be at the root of the agent installation.
|
targetRepo
|
The Thing name of the Axeda 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 agent 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 agent device to which the file will be downloaded. For example, /axeda/gateway/downloads .
If this parameter is left blank, the file is downloaded to the root of the agent installation.
|
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. .
|
|
Paths may be specified as absolute or relative for the sourcePath and targetPath when downloading files only. Absolute paths are not supported for file uploads.
Be aware that the metadata properties must be specified properly to make this distinction. Refer to Metadataa for File Transfer Jobs.
|