Sftp.ResolvePathAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9119)
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.