IPWorks SFTP 2020 Python Edition

Questions / Feedback?

file_exists Property

Returns true if the file specified by RemoteFile exists on the remote server.

Syntax

def get_file_exists() -> bool: ...

file_exists = property(get_file_exists, None)

Default Value

FALSE

Remarks

This property returns True if the file exists on the remote server. It returns false if the file does not exist. You must specify the file you wish to check by setting the remote_file prior to calling this method.

If there is no session in place, the value of this property will always be false.

This property is read-only.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks SFTP 2020 Python Edition - Version 20.0 [Build 8263]