html, files, assets…), every route takes two more ways to bring files: archives and downloadFrom.
Archives
Gotenberg unpacks each ZIP you pass inarchives, and each entry counts as an uploaded file. A path keeps its base name; a Buffer or ReadStream is named archiveN.zip.
Download from URLs
downloadFrom lists URLs Gotenberg downloads before it starts, as if you had uploaded the files.
filename, else by the server’s Content-Disposition header, else by the end of the URL path when it has an extension. Nothing naming the file is refused with a 400.
Use a downloaded file in a stage
A stage names a downloaded or unpacked file with{ name }: