open

abstract suspend fun open(path: String, flags: Set<SftpOpenFlag>, attrs: SftpAttributes = SftpAttributes.EMPTY): SftpResult<SftpFileHandle>(source)

Open a file. Returns a handle for subsequent read/write/close operations.