Compares checksum of the local and remote files.
Namespace: Jscape.FtpAssembly: 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

true

false
Exceptions
Exception | Condition |
---|---|
Jscape.Ftp..::..FtpException | If an I/O or FTP error occurs. |