SAWHSDK::isFileSameAsOnServer
Description
Compares the local copy of a file to the latest version of any file on the server.
Syntax
int isFileSameAsOnServer(
String strLocalFileFullName,
String
strRemoteFileFullName,
BaseDataObject
bdobIsFileSame,
int enumEOL,
int enumCompareFileBy,
int enumSetLocalFileTime,
BaseDataObject bdobCanceled,
BaseDataObject bdostrError
);
Parameters
strLocalFileFullName
[in] Specifies the full name of the local copy of the file.
strRemoteFileFullName
[in] Specifies the full name the server file.
bdobIsFileSame
[out] Returns whether the local copy is identical as the
server file.
eumEOL
[in] Specifies which end-of-line terminator is to be used.
enumCompareFileBy
[in] Specifies how to determine if the local copy of the file is up-to-date, by checksum or date/time.
enumSetLocalFileTime
[in] Specifies the type of time to be assigned to local files.
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.
See Also