E-Payment Integrator 2020 Python Edition

Questions / Feedback?

filename Property

Path and name of the file to be written to disk by the BuildFile method.

Syntax

def get_filename() -> str: ...
def set_filename(value: str) -> None: ...

filename = property(get_filename, set_filename)

Default Value

""

Remarks

If filename is blank, the build_file method will create the file in-memory and store it in the file_data property.

When using the build_and_upload_file method, filename is used slightly different. If a path and filename is specified, the file will be written to disk and uploaded to the ftp_remote_host. If filename contains only a path (and ends in "/" or "\"), that directory will be used to store temporary files before uploading to the ftp_remote_host. If filename is blank the system temp directory will be used. All temporary files are deleted after a successful upload.

Copyright (c) 2021 /n software inc. - All rights reserved.
E-Payment Integrator 2020 Python Edition - Version 20.0 [Build 7941]