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

Sftp.ResolvePathAsync Method

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

ResolvePathAsync(String, Object)

Begins asynchronous ResolvePath operation. Canonicalizes the specified remote path to an absolute path. Returns null if the specified path does not exist.

Declaration
public Task<string> ResolvePathAsync(string remotePath, object state = null)
Parameters
Type Name Description
String remotePath

The symlink path.

Object state

An optional user-provided object that identifies this particular asynchronous operation.

Returns
Type Description
Task<String>

Resolved real path; or null if the specified path does not exist.

Remarks

Useful for converting relative paths or paths with '..' components to absolute paths.

In This Article
  • ResolvePathAsync(String, Object)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies