Back to product page
- Introduction
- License agreement
- Classes
- Enumerations
- Exceptions
- WeOnlyDo.Client.FtpDLX
- Properties
- Authentication
- Blocking
- BufferSize
- Certificate
- Compression
- DirFormat
- DirItems
- Encryption
- Hostname
- KeepAlive
- LastError
- ListItem
- ListParams
- LocalPath
- Login
- MaxTransferRate
- Passive
- Password
- Port
- PreserveDates
- PrivateKey
- Protocol
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- PublicKeyOpenSSH
- PublicKeySSH
- RemotePath
- Resume
- SecureMethod
- SmartGet
- SmartPut
- State
- StrictHost
- Tag
- Timeout
- Timezone
- TransferMode
- TransferRate
- TransferTime
- UseIPv6
- Version
- Methods
- Events
- Properties
- WeOnlyDo.Client.DirItemsCollection
- WeOnlyDo.Client.DirItem
- How to get support?
RemoteCRC method
Requests integrity check of remote file.
Type
VoidSyntax
- C#
- VB.NET
public Void RemoteCRC(IntegrityCheckTypes Type);
The RemoteCRC(Type) syntax has these parts:
public Void RemoteCRC(IntegrityCheckTypes Type, String RemotePath);
The RemoteCRC(Type,RemotePath) syntax has these parts:
public Void RemoteCRC(IntegrityCheckTypes Type, String RemotePath, Int32 FileStart, Int32 FileLength);
The RemoteCRC(Type,RemotePath,FileStart,FileLength) syntax has these parts:
The RemoteCRC(Type) syntax has these parts:
Type | Determines type of integrity check algorithm used. |
public Void RemoteCRC(IntegrityCheckTypes Type, String RemotePath);
The RemoteCRC(Type,RemotePath) syntax has these parts:
Type | Determines type of integrity check algorithm used. |
RemotePath | Full path to a file on remote system. |
public Void RemoteCRC(IntegrityCheckTypes Type, String RemotePath, Int32 FileStart, Int32 FileLength);
The RemoteCRC(Type,RemotePath,FileStart,FileLength) syntax has these parts:
Type | Determines type of integrity check algorithm used. |
RemotePath | Full path to a file on remote system. |
FileStart | Integer value that represents starting position in the file for calculating CRC. |
FileLength | Integer value that represents length of data in the file where CRC is calculated. |
public Sub RemoteCRC(ByVal Type As IntegrityCheckTypes)
The RemoteCRC(Type) syntax has these parts:
public Sub RemoteCRC(ByVal Type As IntegrityCheckTypes, ByVal RemotePath As String)
The RemoteCRC(Type,RemotePath) syntax has these parts:
public Sub RemoteCRC(ByVal Type As IntegrityCheckTypes, ByVal RemotePath As String, ByVal FileStart As Int32, ByVal FileLength As Int32)
The RemoteCRC(Type,RemotePath,FileStart,FileLength) syntax has these parts:
The RemoteCRC(Type) syntax has these parts:
Type | Determines type of integrity check algorithm used. |
public Sub RemoteCRC(ByVal Type As IntegrityCheckTypes, ByVal RemotePath As String)
The RemoteCRC(Type,RemotePath) syntax has these parts:
Type | Determines type of integrity check algorithm used. |
RemotePath | Full path to a file on remote system. |
public Sub RemoteCRC(ByVal Type As IntegrityCheckTypes, ByVal RemotePath As String, ByVal FileStart As Int32, ByVal FileLength As Int32)
The RemoteCRC(Type,RemotePath,FileStart,FileLength) syntax has these parts:
Type | Determines type of integrity check algorithm used. |
RemotePath | Full path to a file on remote system. |
FileStart | Integer value that represents starting position in the file for calculating CRC. |
FileLength | Integer value that represents length of data in the file where CRC is calculated. |
Remarks
RemoteCRC method will try to execute command on the server to calculate CRC value of remote file, if server supports such command. For CRC type it will send XCRC command (along with filename, and with start/length if you provided these values). For MD5 type it will send XMD5 command, and for SHA1 type it will send XSHA1 command. If server supports this commands, wodFtpDLX.NET will return appropriate checksum value through ListItems event.Please note that not all servers supports integrity check commands.
NOTE: this method is not supported in SFTP protocol.