USFile.WriteBinaryFile

Previous Next

Writes binary data to a file. If the file already exists, all data in the existing file will be lost.

Syntax

INVOKE USFile.WriteBinaryFile WITH
SELECT      filename
,           value

Filename is the name of the file to write to. This name is allowed to contain environment variables.

Example

INVOKE     USFile.WriteBinaryFile WITH
SELECT     '%TEMP%\ToursOverviewFileCopy.pdf'
,          tours_pdf
FROM       tours_backup
WHERE      id = 1

 

 

 

See also

USFile.Write

USFile internal component