file_size Property
The size of the file pointed to by RemoteFile .
Syntax
def get_file_size() -> int: ...
file_size = property(get_file_size, None)
Default Value
0
Remarks
When this property is read, the FTP server is queried for the file size, and the response is provided as the property value.
If the class is busy or is not connected, 0 is returned.
This property is read-only.