file_var_file Property

This property contains the path and filename of each file to be sent.

Syntax

def get_file_var_file(file_index: int) -> str: ...
def set_file_var_file(file_index: int, value: str) -> None: ...

Default Value

""

Remarks

This property contains the path and filename of each file to be sent.

When the class is used as an upload client, this property must point to valid file name that will be sent to the server.

If file_var_input_data is set, this property may instead be set to the desired filename which will be used in the request.

The file_index parameter specifies the index of the item in the array. The size of the array is controlled by the file_count property.

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