ADO SaveToFile Method
Complete Stream Object Reference
The SaveToFile method is used to save the binary contents of an open Stream object
to a local file.
Note: After a call to this method, the current position in the stream is set to the beginning of the stream
(Position=0).
Syntax
objStream.SaveToFile filename,opt
|
| Parameter |
Description |
| filename |
Required. The name of the file to save the contents of the Stream
object
|
| opt |
Optional. A SaveOptionsEnum value that specifies whether a
file should be created if it does not exist or overwritten. Default is
adSaveCreateNotExist. The values can be combined with the AND operator
|
SaveOptionsEnum Values
| Constant |
Value |
Description |
| adSaveCreateNotExist |
1 |
Default. Creates a new file if the file does not already
exist
|
| adSaveCreateOverWrite |
2 |
Overwrites the file with the data from the currently open Stream object, if the file
already exists |
Complete Stream Object Reference
 |
 |
 |
 |
|
The Ektron Intranet
lets you do everything you need to do on your corporate intranet and everything you want to do... all with just one application.
What can you do with the Ektron Intranet? |
 |
Navigate through content, documents, assets, colleagues and workgroups quickly and intuitively with enterprise search |
 |
Communicate with friends and colleagues with forums, message boards and corporate blogging using the new Social Networking Platform |

|
Utilize the extensive out-of-the box features or customize your site through Ektron CMS400.NET's open architecture |
 |
Promote collaboration in your organization through project workspaces where others can efficiently find information and work together |
 |
Author/edit content, manage navigation, menus, audit trails, workflow and approvals with the best in breed Content Management |
|
|
|
|
See why there are 20,000+ Ektron integrations worldwide.
|
|
 |
TAKE THE VIDEO TOUR |
 |
or download a FREE TRIAL today. |
|