IPWorks EDI 2020 Python Edition

Questions / Feedback?

oftp_connection_download_directory Property

The directory to which files will be saved.

Syntax

def get_oftp_connection_download_directory(connection_id: int) -> str: ...
def set_oftp_connection_download_directory(connection_id: int, value: str) -> None: ...

Default Value

""

Remarks

The directory to which files will be saved.

This specifies the directory where files received by the server will be saved. This must be set before the client begins sending files. Set this in the on_connected, on_accept_connection, or on_connection_request events, for instance:

oftpserver1.SetOFTPConnectionDownloadDirectory(123456789, "C:\\Downloads");

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]