SAWHSDK::renameFile
Description
Renames a file on the server.
Syntax
int renameFile(
String strFileFullNameToRename,
String strNewFileName,
BaseDataObject bdobCandeled,
BaseDataObject bdostrError
);
Parameters
strFileFullNameToRename
[in] Specifies the old full name of the file.
strNewFileName
[in] Specifies the new name of the file.
bdobCanceled
[out] If the method fails, returns whether the operation is canceled.
bdostrError
[out] Returns the description of the result. If the operation succeeds,
returns 'Completed'. If the operation fails, returns the error information.
Return Value
If the method succeeds, returns 0. If the method fails, returns other error codes.