SSH.SFTPSession.PathExists - charonn0/RB-libssh2 GitHub Wiki

SSH.SFTPSession.PathExists

Method Signature

 Function PathExists(Path As String) As Boolean

Parameters

Name Type Comment
Path String The remote path to query.

Return value

Returns True if the specified Path exists on the server. Paths ending in / are interpreted as directories; some servers will fail the query if it's omitted.