Writes the blob contents to the file specified in the filename parameter. If the file does not exist, this method creates the file at the location specified. If the file already exists, the write() method appends the contents of the blob to the end of the file. To overwrite an existing file, use the save() method.
write(string filename);
Parameter |
Description |
---|---|
filename |
The name of the file in which to save the blob contents. Can be a string or a literal and can contain a drive and path designation as well as the filename. All backslashes (\) must be escaped (\\). Enclose a literal in double-quotes. |
Integer. Returns the number of bytes written to the file, if successful, and the negative value of the UNIX error that caused the method to fail, if failed.
Pointer to object |
Object |
---|---|
|
|
|
|
|
|
|
|
|
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |