IPWorks EDI 2020 Python Edition

Questions / Feedback?

passive Property

Controls whether to direct the server into passive mode. Recommended if behind a firewall.

Syntax

def get_passive() -> bool: ...
def set_passive(value: bool) -> None: ...

passive = property(get_passive, set_passive)

Default Value

TRUE

Remarks

This property controls whether to direct the server into passive mode. Many firewalls will not allow the FTP server to open a connection from outside to the higher ports where the FTP client class expects them. If passive is set to TRUE, the class will use the PASV instead of the PORT command and will thus direct the server into passive mode: connections are initiated only by the client.

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