SaveFileBinary Method

SaveFileBinary(filename As string, data As Blob, overwrite As boolean) As string

string SaveFileBinary(string filename, Blob data, boolean overwrite);

Parameters

name type description
filename string The filename of the file to be saved. If the path is not included it will be saved in the current directory.
data Blob The data to save to the file.
overwrite boolean (optional) Overwrite if the file already exists.

Description

Saves the Blob to a file. The overwrite flag should be set to true if you wish to overwrite a file that already exists.

The method will throw an exception if an error is encountered.

Object

FileIO



We always want to hear your feedback. Send to feedback@toolsack.com.
© 2000-2001 Toolsack Software Ltd.