Gophercamp2026
Back to all sessions

Multi-file downloads with zipserve

by Martin Sucha

About this Session

You probably know how to use archive/zip to stream multiple files in a zip archive directly to a client. But you don't get a progress bar and can't resume the download this way. So many services write the archive to a cloud object storage first and then let the user download it from there instead. With zipserve, you can assemble a zip archive dynamically and directly serve it to the client with support for progress bar and resumable downloads. This talk explains how zipserve works and how you can use it in your service to improve the user experience of multiple-file downloads.