SFTP Object
 
Syntax
 
SFTP.GetFileSizeStr(pathOrHandle As String, ByVal bFollowLinks As Long, ByVal bIsHandle As Long) As String
 
Description
Returns the size in bytes (in decimal string form) of a file on the SSH server. 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: This method exists for environments that do not have 64-bit integer support. The Add64 method is provided for 64-bit addition, and other methods such as ReadFileBytes64s allow for 64-bit values to be passed as strings.
 
Returns Nothing on failure
 
See Also