CreateBinaryFile Method

Object: FileManager
Syntax: CreateBinaryFile ([in] Name, [in] OverWrite)
Returns: A BinaryStream object
Description: This method creates a new file and returns a BinaryStream object so you can read and write the contents of the file.

You must specify the complete path of the file. If you want to create a file in the current directory, use the CreateBinaryFile method of the Folder object.

If OverWrite is True, and the file already exists, it will be overwritten. It is True by default.

Copyright © 2010 SoftArtisans, Inc. All rights reserved.