SFTP Object
 
Syntax
 
SFTP.GetFileOwner(pathOrHandle As String, ByVal bFollowLinks As Long, ByVal bIsHandle As Long) As String
 
Description
Returns the owner of a file. pathOrHandle may be a remote filepath or an open handle string as returned by OpenFile. If pathOrHandle is a handle, then bIsHandle must be set to 1, otherwise it should be 0. If bFollowLinks is 1, then symbolic links will be followed on the server.
 
Note: Servers running the SFTP v3 protocol or lower do not have the ability to return a file's owner name. Instead, the decimal UID of the file is returned.
 
Returns Nothing on failure
 
See Also