Compares checksum of the local and remote files.

Namespace: Jscape.Ftp
Assembly: Jscape.Ftp (in Jscape.Ftp.dll) Version: 2.4.5.0

Syntax

C#
public bool Checksum(
	FileInfo localFile,
	string remoteFile
)
Visual Basic
Public Function Checksum ( _
	localFile As FileInfo, _
	remoteFile As String _
) As Boolean
Visual C++
public:
bool Checksum(
	FileInfo^ localFile, 
	String^ remoteFile
)

Parameters

localFile
Type: System.IO..::..FileInfo
local file
remoteFile
Type: System..::..String
remote file

Return Value

CopyC#
true
if checksums are equal;
CopyC#
false
otherwise

Exceptions

ExceptionCondition
Jscape.Ftp..::..FtpExceptionIf an I/O or FTP error occurs.

See Also