IPWorks EDI 2020 Python Edition

Questions / Feedback?

restart_directory Property

The directory to log cached files when using AS2 restart functionality.

Syntax

def get_restart_directory() -> str: ...
def set_restart_directory(value: str) -> None: ...

restart_directory = property(get_restart_directory, set_restart_directory)

Default Value

""

Remarks

If this property is set, the class will cache all received files to the restart_directory. Thus, when receiving a file is interrupted, the client can restart the transmission of the file starting where it was interrupted.

To use this functionality, HTTP HEAD requests must be processed using the process_restart_request method.

When using restart functionality, the data is processed after the entire file contents are received.

NOTE: This directory will not automatically be cleaned up.

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