Adds TFTP files.
Output / Response
Returns the object ID for the new TFTP file.
API Call:
long addTFTPFile( long parentId, String
name, String version, byte[]
data, String properties
)
Parameter | Description |
---|---|
parentId | The object ID of the parent object of the TFTP file. The parent will always be a TFTP folder. |
name | The name of the TFTP file. |
version | The version of the file. This parameter is optional. |
data | The file to be uploaded and distributed to clients by TFTP. The file is passed to Address Manager as a byte array. |
properties | Adds object properties, including user-defined fields as well as description properties. |