Discuss this help topic in SecureBlackbox Forum

TElSftpClient.RequestAbsolutePath

TElSftpClient     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]
    bool RequestAbsolutePath(string Path);

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

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

[C++]
    bool RequestAbsolutePath(const std::string &Path);

[PHP]
    bool RequestAbsolutePath(string $Path)

Parameters

  • Path - path name

Return value

    True if operation was completed successfully;
    False otherwise.

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. If the path was successfully canonicalized, the OnAbsolutePath event is fired. The OnError event is fired otherwise.

See also:     RequestAbsolutePathEx     MakeDirectory     OpenDirectory    

Discuss this help topic in SecureBlackbox Forum