enables you to download multiple files at once from a Coda document by bundling them into a single .zip file. It's a simple way to quickly retrieve all the files stored in a table or list. Below are the key features and limitations to keep in mind while using the pack.
Bulk File Download in One Click
The pack reads all the files from the chosen file column and creates a .zip archive containing them.
You will receive a downloadable link to the .zip file, which is stored in a temporary blob.
Formula Support: listCombine
The listCombine() formula can be used to combine files from multiple rows in a file column. This is especially useful when you want to bundle several files into one download request.
Temporary File Links
The generated download link remains active for approximately 15 minutes. After that, the link will expire, and a new request must be made.
File Name Conflicts
If multiple files share the same name, only one version will be kept in the .zip. The one included will depend on the order in which the files were processed. This is particularly important when using listCombine() on multiple files.
File Size and Table Limitations
Large files or extensive lists may cause delays or issues. If the file size is too large, the process may time out or fail.
table is set up with a file-type column, where each row contains one or more files. Another column in the table has a button configured to use the pack formula to download the files from that specific row. When the button is pressed, it performs two actions: it updates the URL in a hidden column with the link to the generated zip file, and it opens the link to initiate the download immediately.
A hidden column stores the generated zip file link for each row. This ensures the download link is updated dynamically whenever the button is pressed, providing a seamless way to download the files.
Additionally, a button is placed at the bottom of the page to allow users to download all files from the entire table at once (
Download All
). In this case, the generated zip link is stored in a text control value located in a separate Helpers page. When the
Download All
button is pressed, it follows the same process as the row-level buttons: it updates the text control value with the link and opens it to start the download.
This setup provides both flexibility and convenience, allowing users to download files from individual rows or all rows in a single action while ensuring that download links are properly managed and expire after 15 minutes.