Discuss this help topic in SecureBlackbox Forum

TElSimpleSFTPClient.RequestAbsolutePath

TElSimpleSFTPClient     See also     


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


Asks the server to canonicalize any given path name to the absolute path.

Declaration

[C#/Java]
    string RequestAbsolutePath(string Path);

[VB.NET]
    Function RequestAbsolutePath(ByVal Path As String) As String

[Pascal]
    function RequestAbsolutePath(const Path: string) : string;

[C++]
    void RequestAbsolutePath(const std::string &Path, std::string &OutResult);

[PHP]
    string RequestAbsolutePath(string $Path)

Parameters

  • Path - path name
  • AbsPath - absolute path that has been returned

Description

    Use this method to make server canonicalize any path name to the absolute path. This is useful for converting path names containing «..» components or relative pathnames without a leading slash into absolute paths.
    In case of error, EElSFTPError exception containing SFTP error code, is raised. For more information on error handling, please read the corresponding how-to article.

See also:     RequestAbsolutePathEx     MakeDirectory     OpenDirectory    

Discuss this help topic in SecureBlackbox Forum