LocalCRC(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
Local stream that will be read by wodFtpDLX.NET.
RemoteFile
Full path to filename where local file will be copied on server.
See Also Requirements Languages WeOnlyDo.Client.FTP Send comments on this topic.

LocalCRC(IntegrityCheckTypes,String,Int32,Int32) Method

Calculates integrity check of local file.

[Visual Basic]
Overloads Public Sub LocalCRC( _    Type As IntegrityCheckTypes, _    ByVal LocalFile As String, _    ByVal FileStart As Integer, _    ByVal FileLength As Integer _ )
[C#]
public void LocalCRC(    IntegrityCheckTypes Type,    string LocalFile,    int FileStart,    int FileLength, );
[JScript]
public function LocalCRC(    Type : IntegrityCheckTypes,    LocalFile : String    FileStart : int    FileLength : int );

Parameters

Type
Determines type of integrity check algorithm used.
LocalFile
Full path to a file on local 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

LocalCRC method will calculate checksum of local file using any of supported algorithms (CRC, MD5...). For CRC it will be a long value represented in HEX characters (such as ABCDEF01), for MD5 hash it will be 16 HEX numbers (meaning 32 ASCII chars as its readable representation), and for SHA1 it will be 20 HEX numbers. Please note that not many servers support these functions. CRC is most widely supported, so you should use that method if you're unsure how good remote FTP server is.

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.