SAWHSDK::addFiles
Description
Adds multiple local files to the server.
Syntax
int addFiles(
StringArray aryServerFileFullName,
StringArray aryLocalFileFullName,
IntegerArray
aryEnumFileType,
boolean bUseReadOnly,
String strComment,
int enumCompareFileBy,
int enumSetLocalFileTime,
boolean bRemoveLocalCopy,
BaseDataObject bdobCanceled,
BaseDataObject bdostrError,
ItemOperateResultArray
aryOperatorResult
);
Parameters
aryServerFileFullName
[in] Specifies the full names of files to which the local
files will be added.
aryLocalFileFullName
[in] Specifies the full names of the local files to be added.
aryEnumFileType
[in] Specifies the types of the files to be added.
bUseReadOnly
[in] Specifies whether to use read-only flag on files that are not checked out.
strComment
[in] Specifies the comment for the add action.
enumCompareFileBy
[in] Specifies how to determine if the local copy of the file is up-to-date.
enumSetLocalFileTime
[in] Specifies the type of time to be assigned to local files.
bRemoveLocalCopy
[in] Specifies whether to remove local copies of the files after
the add.
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.
aryOperatorResult
[out] Returns the result information of the operation.
Return Value
If the method succeeds, returns 0. If the method fails, returns other error codes.
See Also