Sftp.ResolvePath Method
Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9083)
ResolvePath(String)
Canonicalizes the specified remote path to an absolute path. Returns null if the specified path does not exist.
Declaration
public string ResolvePath(string remotePath)
Parameters
Type | Name | Description |
---|---|---|
String | remotePath | The symlink path. |
Returns
Type | Description |
---|---|
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.