Skip to content
Gallery
f-saver-icon
File Saver Demo
Share
Explore

f-saver-icon
File Saver Demo

The pack 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.
In this use case, the 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.
FilesList
1
2
3
4
Name
files
Download
Files 1
texto1.txt
texto2.txt
word1.docx
word2.docx
image1.png
image1.png
image2.png
image2.png
Files 2
image3.png
image3.png
Files 3
image4.png
image4.png
Files 4
image5.png
image5.png
image6.png
image6.png
There are no rows in this table
Download column formula:
RunActions( ModifyRows(thisRow, thisRow.TempUrl, [File Saver]::saveFiles(thisRow.files)), OpenWindow(thisRow.TempUrl) )

Download All

Download All formula
RunActions( SetControlValue(zipURL, [File Saver]::saveFiles(files)), OpenWindow(zipURL) )

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.