-
I just noticed that you have a downloadZip() method, and was wondering how it differs from downloading a file. I was just starting to think about how to add an option to upload/download zip files so I didn't have to manually to it. Is there an example of uploading or download a file or directory that uses the zip api calls? But I guess the first question is how it differs, I've been downloading zip files using the downloadFile() call, but of course want to take advantage of whatever additional functionality is there. Thanks again for this great library. I've been able to replace some s3 calls, which works great but the security setup is (rightfully) complicated. Where with bunny cdn, a single API key and a few calls via this library, it's clean and easy. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @tacman 👋
Could you show me an example of how you are able to download ZIP files using the I've noticed when providing a path as If it is indeed already possible to download zip with just the
You can check this in the documentation website. |
Beta Was this translation helpful? Give feedback.
Hey @tacman 👋
Could you show me an example of how you are able to download ZIP files using the
downloadFile
call? From the API specifications it requires astorageZoneName
,path
andfileName
so I'm curious how your able to download a ZIP file currently.I've noticed when providing a path as
fileName
it returns the same result aslistFiles
(a JSON array with files of the specified directory) but not a ZIP, so let me know how you'd managed to achieve that.If it is indeed already possible to download zip with just the
downloadFile
call, I dont think there's much (or any differen…