Download a File from the Folder

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 2023-12-18 16:20:08 +0530 +0530

ON THIS PAGE