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 the class is busy or is not connected, 0 is returned.

If there is no FTP session in place, one is automatically created by first calling the logon method.

This property is read-only.

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