IPWorks EDI 2020 Python Edition

Questions / Feedback?

incoming_directory Property

The directory to be used to store incoming messages.

Syntax

def get_incoming_directory() -> str: ...
def set_incoming_directory(value: str) -> None: ...

incoming_directory = property(get_incoming_directory, set_incoming_directory)

Default Value

""

Remarks

If incoming_directory is set, the received message is stored as a file in that directory. If a filename is specified in the EDI message, the class will write to the specified filename, otherwise, a filename will be automatically generated based on a timestamp of the incoming transmission. In either case, if the filename exists on disk, the data will be written to the same name with a "-duplicate?" appended to the filename, where "?" is the number of duplicates.

Please note that the set_tp_info method, if used, needs to be invoked before setting this property because it overrides the setting for incoming directory.

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