IPWorks EDI 2020 Python Edition

Questions / Feedback?

restart Method

Restart sending of the file specified by the Etag property.

Syntax

def restart() -> None: ...

Remarks

This method should be called when using the AS2 restart functionality. When called, the class will process the file and cache the processed contents to the restart_directory. Before sending, the etag property will be populated with a unique etag which identifies the processed file.

If sending is interrupted or fails, this method should be called to restart sending of the previously processed file starting where the interruption occurred. In order to restart from the last transfer, the etag must be populated with the value from the last connection.

NOTE: When using restart functionality, the data is completely processed to the restart_directory before sending begins.

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