Discuss this help topic in SecureBlackbox Forum

TElSimpleFTPSClient.GetLocalChecksum

TElSimpleFTPSClient     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Returns control sum of the file part.

Declaration

[C#]
    string GetLocalChecksum(string AFileName, TSBFTPCheckMethod CheckMethod, long StartPoint, long EndPoint);

[VB.NET]
    Function GetLocalChecksum(ByVal AFileName As String, ByVal CheckMethod As TSBFTPCheckMethod, ByVal StartPoint As Long, ByVal EndPoint As Long) As String

[Pascal]
    function GetLocalChecksum(const AFilename: string; CheckMethod: TSBFTPCheckMethod; const StartPoint: Int64 = -1; const EndPoint: Int64 = -1): string;

[C++]
    void GetLocalChecksum(const std::string &AFileName, TSBFTPCheckMethod CheckMethod, int64_t StartPoint, int64_t EndPoint, std::string &OutResult);

[PHP]
    string GetLocalChecksum(string $AFileName, integer $CheckMethod, integer $StartPoint, integer $EndPoint)

[Java]
    String getLocalChecksum(String AFileName, TSBFTPCheckMethod CheckMethod, long StartPoint, long EndPoint);

Parameters

  • FileName - file name
  • CheckMethod - method for checksum computation
  • StartPoint - segment start position from which the control sum is counted
  • EndPoint - segment ending position until which the control sum is counted. If both start and end positions are -1, then control sum of the whole file is counted.
  • AFileName - ...

Return value

    Control sum of the local file.

Description

    Use this method to get control sum of the local file or its part.

See also:     GetRemoteChecksum    

Discuss this help topic in SecureBlackbox Forum