Zip Download support now available in all SDKs & CLI

Cristiano Betta
Oct 20, 2020 · 2 min read
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