Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

Ftp.GetRemoteChecksum Method

Namespace: Rebex.Net
Assembly: Rebex.Ftp.dll (version 7.0.9147)

GetRemoteChecksum(FtpChecksumType, String)

Returns the checksum of the specified file on the server. This method will be deprecated. Please use GetChecksum(String, ChecksumAlgorithm) instead.

Declaration
public string GetRemoteChecksum(FtpChecksumType type, string remotePath)
Parameters
Type Name Description
FtpChecksumType type

Desired checksum type (server must support it).

String remotePath

Path of the remote file.

Returns
Type Description
String

Checksum of the specified remote file.

Remarks

To calculate checksums of local files, use one of CalculateLocalChecksum(FtpChecksumType, String) methods.

GetRemoteChecksum(FtpChecksumType, String, Int32, Int64)

Returns the checksum of the specified file on the server. This method will be deprecated. Please use GetChecksum(String, ChecksumAlgorithm, Int64, Int64) instead.

Declaration
public string GetRemoteChecksum(FtpChecksumType type, string remotePath, int offset, long count)
Parameters
Type Name Description
FtpChecksumType type

Desired checksum type (server must support it - see GetSupportedChecksumTypes() for details).

String remotePath

Path of the remote file.

Int32 offset

The offset in remote file where reading will start.

Int64 count

The maximum number of bytes to read.

Returns
Type Description
String

Checksum of the specified remote file.

Remarks

Please note that not all FTP server that support checksums will necessarily support this variant as well.

To calculate checksums of local files, use one of CalculateLocalChecksum(FtpChecksumType, String, Int32, Int64) methods.

In This Article
  • GetRemoteChecksum(FtpChecksumType, String)
  • GetRemoteChecksum(FtpChecksumType, String, Int32, Int64)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies