Search

Download Folder As ZIP

Articles

Use this function to download a folder as a ZIP file from Dropbox.

Syntax

Download Folder As ZIP (access_token, dropbox_path, folder_path)

Parameters

Input Parameter Name Description
access_token Access token of Dropbox
dropbox_path Path from where the file needs to be deleted
folder_path Path to where the file needs to be downloaded to

To know more about access_token, click here.

Returns

Return Value Description
Output
  • On Success returns 1 | File downloaded successfully
  • On Failure returns 0 | Error Message

Sample

Download Folder As ZIP (ABCDCEF, /Invoices/Travel, C:\Invoices)

  • Uses the access token ABCDCEF to connect to the Dropbox account, downloads the folder /Invoices/Travel as a zip file to C:\Invoices.
    Returns Folder downloaded successfully on downloading the file.

To view all the Dropbox functions, click here.

Did you find what you were looking for?