Compressor Robot

Archived from the Transloadit support forum. Originally posted on August 20, 2013; details may be outdated, see our docs for current behavior. Original thread

Hi there,

We need to be able to ZIP up a bunch of MP3 files. Do you have a compressor robot planned or in a pre-release state?

Many thanks,
James

Hey James,

yes that is possible. We offer a beta compressing robot called /file/compress. It zips each file per default.

If you want it to zip all files into one zip file, please use bundle_steps: true in the use parameter. Like so:

"robot": "/file/compress",
"use": {
  "steps": [":original", "other_step"],
  "bundle_steps": true
}

Kind regards,
Tim

Co-Founder Transloadit
@tim_kos

That’s great! Thanks Tim.

Most welcome. I am closing this ticket for now.

Please feel free to reply to it should you have more questions.

Kind regards,
Tim

Co-Founder Transloadit
@tim_kos