Saves the contents of the blob to the file specified in the filename parameter. This method creates the file, if necessary. If a file with the same name currently exists, the save() method overwrites the contents of the existing file with the new information. To append to an existing file, use write().
save(sring filename);
Parameter |
Description |
---|---|
filename |
A string that contains the name of the file to which the blob contents are saved. Can contain a drive and path designation, as well as the filename. All backslashes (\) must be escaped(\\). |
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. |
![]() |