RemoteCRC(Stream,String) Method

See Also

FtpDLX Class  | FtpDLX Members  | Overload List

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

JScript

Show All

FromStream
Remote stream that will be read by wodFtpDLX.NET.
RemoteFile
Full path to filename where Remote file will be copied on server.
See Also Requirements Languages WeOnlyDo.Client.FTP Send comments on this topic.

RemoteCRC(IntegrityCheckTypes,String,Int32,Int32) Method

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 );

Parameters

Type
Determines type of integrity check algorithm used.
RemoteFile
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.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

FtpDLX Class  | FtpDLX Members  | Overload List

 

 


© WeOnlyDo Software. All Rights Reserved.