Requests integrity check of remote file.
[Visual Basic]
Overloads Public Sub RemoteCRC( _
Type As IntegrityCheckTypes, _
ByVal RemoteFile As String, _
ByVal FileStart As Integer, _
ByVal FileLength As Integer _
) [C#]
public void RemoteCRC(
IntegrityCheckTypes Type,
string RemoteFile,
int FileStart,
int FileLength,
);[JScript]
public function RemoteCRC(
Type : IntegrityCheckTypes,
RemoteFile : String
FileStart : int
FileLength : int
);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.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
FtpDLX Class | FtpDLX Members | Overload List
© WeOnlyDo Software. All Rights Reserved.