Comment on page
createZipFile
To create a zip archive including all files of a given file array
With this function, you create a zip archive containing all files passed in an array.
createZipFile(nid, [file], string)
file
createZipFile(record, files, filename)
Creates a zip archive with all files of the array files
and a given name.1
let products := (select Products).photo
2
File := do as server createZipFile(this, products, "Products.zip") end
Result: The Products.zip zip archive containing all product photos from the Products table is saved in the File image field.
Last modified 8mo ago