IPWorks EDI 2020 Python Edition

Questions / Feedback?

oftp_connection_compress Property

Whether or not compression is used on the outgoing or incoming file.

Syntax

def get_oftp_connection_compress(connection_id: int) -> bool: ...
def set_oftp_connection_compress(connection_id: int, value: bool) -> None: ...

Default Value

FALSE

Remarks

Whether or not compression is used on the outgoing or incoming file.

When sending files to the client, if Compress is true the file will be compressed.

When receiving files, query this property to determine whether the file received from the client was compressed or not.

Note that this is only applicable when Version 2.0 of the protocol is used as indicated by oftp_connection_version.

The connection_id parameter specifies the index of the item in the array. The size of the array is controlled by the oftp_connection_count property.

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