The USFile ReadBinaryFile Method

Previous Next

See Also

The ReadBinaryFile method reads a complete file in binary mode. The method returns the data contained in the file.

The syntax is:

INVOKE USFile.ReadBinaryFile


SELECT <FileName>

Where FileName is the name of the file to read. The name is allowed to contain environment variables.


UPDATE ToursBackup

SET tours_pdf = USFile.ReadBinaryFile('%TEMP%\ToursOverviewFile.pdf')

WHERE id = 1