Zip Download support now available in all SDKs & CLI

Cristiano Betta
Oct 20 · 2 min read
Image for post
Image for post
Zip archives can now be downloaded using all our SDKs & CLI

In July we announced the general availability of the new Zip Download APIs. Today we’re happy to announce that support for Zip Downloads has arrived to all our server-side SDKs and CLI.

CLI

Starting with version the Box CLI now supports downloading a Zip using the command.

The command requires a name for the Zip file, and a list of one or more values to add to the Zip, each with an item type (file or folder) and an item ID. For more details, please see the CLI documentation.

Java SDK

Starting with version the Box Java SDK now supports downloading a Zip with the method.

Calling this method will create a new zip file (with the specified file name) containing the specified items (files or folders) and download it to the stream that is passed in.

The object passed to the callback function is a status object that contains information about the download, including whether it was successful or not. For more details please check out the Node SDK documentation.

Python SDK

Starting with version the Box Python SDK now supports downloading a Zip with the method.

Calling this method will create a new zip file (with the specified file name) containing the specified items (files or folders) and download it to the file pointer that is passed in.

For more details please check out the Python SDK documentation.

Windows SDK

Starting with version the Box Windows SDK now supports downloading a Zip with the method.

Calling this method will download a new zip file (with the specified file name) containing the specified items (files or folders).

For more details please check out the Windows SDK documentation.

The object passed to the callback function is a status object that contains information about the download, including whether it was successful or not. For more details please check out the Node SDK documentation.

Node SDK

Starting with version the Box Node SDK now supports downloading a Zip with the method.

Calling this method will create a new zip file (with the specified file name) containing the specified items (files or folders) and download it to the stream that is passed in.

The object passed to the callback function is a status object that contains information about the download, including whether it was successful or not. For more details please check out the Node SDK documentation.

Box Developer Blog

News and stories for working with the Box APIs

Cristiano Betta

Written by

Senior Developer Advocate 🥑 at Box 📦. Developer Experience Enthusiast. Codes in Ruby & JS. Addicted to open source software.

Box Developer Blog

News and stories for working with the Box APIs

Cristiano Betta

Written by

Senior Developer Advocate 🥑 at Box 📦. Developer Experience Enthusiast. Codes in Ruby & JS. Addicted to open source software.

Box Developer Blog

News and stories for working with the Box APIs

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store