Download a File from the Folder

Note: Catalyst now offers you a brand new object storage component called Stratus in Early Access mode. This component is a significant upgrade to the current Cloud Scale File Store component. You can find out more about the Stratus component here.

To use the Stratus component in the Early Access mode, email us at support@zohocatalyst.com.

A file can be downloaded from the folder by referring to its unique file ID. To know more about the component instancefilestore_service and the folder instancefolder_service used below, please refer to their respective help sections.

The file ID is passed as an argument to the download_file() method. This method returns the text file in the Bytes format as a response.

Parameters Used

Parameter Name Data Type Definition
file_ID String A Mandatory parameter. Will hold the ID of the file to be downloaded.
    
copy
#Download a File filestore_service = app.filestore() folder_service = filestore_service.folder(5249000000016011) data = folder_service.download_file(5249000000032063)
Info : Refer to the SDK Scopes table to determine the required permission level for performing the above operation.

Last Updated 2025-06-20 19:01:24 +0530 +0530