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. The filestore_service reference used below is already defined in the component instance page.

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.

    
copy
filestore_service = app.filestore() folder_service = filestore_service.folder(5249000000016011) data = folder_service.download_file(5249000000032063)

Last Updated 2025-02-24 14:38:44 +0530 +0530

ON THIS PAGE
ACCESS THIS PAGE