Writes the binary data from the DataTable to a file.

Syntax

Smartsite SXML CopyCode image Copy Code
filesystem.writebinarydata(string path, datatable data)
filesystem.writebinarydata(string path, datatable data, integer row)

Parameters

Name Data Type Description
path String The path.
data DataTable The DataTable with the binary data that will be written to disk. This should be a DataTable with at least the following Columns: ContentType (MIME type), Bytes (byte array)
row Integer The row number.

Return Value

None.
SXML