IPWorks Cloud 2020 Python Edition

Questions / Feedback?

resource_export_extension Property

The file extension of the file format that the file resource will be exported as.

Syntax

def get_resource_export_extension(resource_index: int) -> str: ...

Default Value

""

Remarks

The file extension of the file format that the file resource will be exported as.

Some file resources are "export-only"; i.e., they're stored in Dropbox using a server-only file format, and get exported to a "normal" file format when download_file is called. For export-only file resources, this property reflects the file extension of the export file format; it is empty for all other resources.

When downloading an export-only file resource to a local_file, the class will automatically append the file extension reflected by this property, if necessary.

The resource_index parameter specifies the index of the item in the array. The size of the array is controlled by the resource_count property.

This property is read-only.

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