Compression and Archives
Compress, extract, and manage ZIP and archive files with BoxLang
Compress an archive
compress(
source = "/tmp/project",
destination = "/tmp/project.tar.gz",
format = "tar.gz"
)compress(
source = "/tmp/project",
destination = "/tmp/project.zip",
format = "zip",
includeBaseFolder = false,
compressionLevel = 9
)Extract an archive
Supported archive formats
ZIP components
Actions
Action
Purpose
Common attributes
Result
Zip a file or directory
Extract a ZIP file
List or read entries
Add in-memory content
Related reference
Last updated
Was this helpful?
