SFTP Object
 
Syntax
 
SFTP.RealPath(originalPath As String, composePath As String) As String
 
Description
This method can be used to have the server canonicalize any given path name to an absolute path. This is useful for converting path names containing ".." components or relative pathnames without a leading slash into absolute paths. The absolute path is returned by this method.
originalPath is the first component of the path which the client wishes resolved into a absolute canonical path. This may be the entire path.
The composePath is a path which the client wishes the server to compose with the original path to form the new path. This field is optional and may be set to a zero-length string.
The server will take the originalPath and apply the composePath as a modification to it. composePath may be relative to originalPath or may be an absolute path, in which case originalPath will be discarded. The composePath may be zero length.
 
Note: Servers running SFTP v4 and below do not support composePath.
 
Returns Nothing on failure
 
See Also