<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Download folder as ZIP in api v2? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-folder-as-ZIP-in-api-v2/m-p/287857#M17606</link>
    <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/749357"&gt;@saifnirob&lt;/a&gt;&amp;nbsp;Using &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-download" target="_self"&gt;/2/files/download&lt;/A&gt;, there isn't any file size limit for downloading individual files. (It also supports Range retrieval requests.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-download_zip" target="_blank"&gt;The&amp;nbsp;/2/files/download_zip endpoint&lt;/A&gt;, for downloading entires folders as zips, however, does have some limitations. You can find information on those in &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-download_zip" target="_blank"&gt;the documentation&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Mon, 30 Jul 2018 16:07:19 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2018-07-30T16:07:19Z</dc:date>
    <item>
      <title>Download folder as ZIP in api v2?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-folder-as-ZIP-in-api-v2/m-p/196254#M8986</link>
      <description>&lt;P&gt;One of my apps that i'm trying to migrate from API v1 to v2 uses the v1 functionality where you can download &lt;SPAN class="s1"&gt;&lt;A href="https://content.dropboxapi.com/1/files/auto/path/to/folder" target="_blank"&gt;https://content.dropboxapi.com/1/files/auto/path/to/folder&lt;/A&gt;, and dropbox sends you a ZIP file so long as the contents of the folder are small enough.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s1"&gt;Has the auto-zip functionality been completely removed in API v2 or is there some way to get that functionality?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s1"&gt;thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:27:55 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-folder-as-ZIP-in-api-v2/m-p/196254#M8986</guid>
      <dc:creator>tim</dc:creator>
      <dc:date>2019-05-29T09:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Download folder as ZIP in api v2?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-folder-as-ZIP-in-api-v2/m-p/196257#M8987</link>
      <description>&lt;P&gt;Hi Tim, API v2 doesn't offer zip folder downloads, but I'll pass this along as a feature request.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(Also, I'm not sure exactly what functionality you're referring to on v1, as there's&amp;nbsp;no documented/supported zip folder download functionality on the &lt;A href="https://www.dropbox.com/developers-v1/core/docs#files-GET" target="_self"&gt;/files endpoint&lt;/A&gt; you're referring to. Perhaps you're referring to the ability to download a zip from a shared link for a folder using the &lt;A href="https://www.dropbox.com/help/201" target="_self"&gt;dl or raw URL parameters&lt;/A&gt;? That's unrelated to API version.)&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2016 18:34:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-folder-as-ZIP-in-api-v2/m-p/196257#M8987</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-12-02T18:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Download folder as ZIP in api v2?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-folder-as-ZIP-in-api-v2/m-p/273003#M16223</link>
      <description>The Dropbox API v2 now offers the ability to download folders as zips:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-download_zip" target="_blank"&gt;https://www.dropbox.com/developers/documentation/http/documentation#files-download_zip&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you're using an official SDK, there will also be a corresponding method for this endpoint.</description>
      <pubDate>Wed, 18 Apr 2018 15:39:23 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-folder-as-ZIP-in-api-v2/m-p/273003#M16223</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-04-18T15:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Download folder as ZIP in api v2?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-folder-as-ZIP-in-api-v2/m-p/287753#M17597</link>
      <description>&lt;P&gt;I may have a question in the same category or case! I use the premium version of Dropbox with my another business account with Dropbox. I am developing a portal for my client where I want to give my client an option to download bigger files like 5GB. So, what you think is it possible with v2 api to let my client download 5gb files at a time using direct download?&lt;BR /&gt;&lt;BR /&gt;If no, what is the maximum limit of download zip at a time or how much file size can handle v2 api to download at a time?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2018 07:54:54 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-folder-as-ZIP-in-api-v2/m-p/287753#M17597</guid>
      <dc:creator>saifnirob</dc:creator>
      <dc:date>2018-07-30T07:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Download folder as ZIP in api v2?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-folder-as-ZIP-in-api-v2/m-p/287857#M17606</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/749357"&gt;@saifnirob&lt;/a&gt;&amp;nbsp;Using &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-download" target="_self"&gt;/2/files/download&lt;/A&gt;, there isn't any file size limit for downloading individual files. (It also supports Range retrieval requests.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-download_zip" target="_blank"&gt;The&amp;nbsp;/2/files/download_zip endpoint&lt;/A&gt;, for downloading entires folders as zips, however, does have some limitations. You can find information on those in &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-download_zip" target="_blank"&gt;the documentation&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2018 16:07:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-folder-as-ZIP-in-api-v2/m-p/287857#M17606</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-07-30T16:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Download folder as ZIP in api v2?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-folder-as-ZIP-in-api-v2/m-p/288671#M17673</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Okay. I am sharing this code&amp;nbsp;for people who needs to download dropbox folder as zip in C#. I can't find a solution in the web and I have to piece up my own code. Hope it helps.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;private async Task Download(string foldername)
{&lt;BR /&gt;        string token = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
	var dbx = new DropboxClient(token);
	using (var response = await dbx.Files.DownloadZipAsync("/" + foldername))
	{
		Stream ms = await response.GetContentAsStreamAsync();
		Int16 bufferSize = 1024;
		byte[] buffer = new byte[bufferSize + 1];
		Response.Clear();
		Response.ContentType = "application/x-zip-compressed";
		Response.AddHeader("content-disposition", "attachment; filename=myfolder.zip");
		Response.BufferOutput = false;
		int count = ms.Read(buffer, 0, bufferSize);
		while (count &amp;gt; 0)
		{
			Response.OutputStream.Write(buffer, 0, count);
			count = ms.Read(buffer, 0, bufferSize);
		}
	}
}&lt;BR /&gt;&lt;BR /&gt;//To call it, place the download function in a page_load of a aspx (example: download.aspx)&lt;BR /&gt;//Link example: http://domainname/download.aspx?folder=abc123  &lt;BR /&gt;//This link will directly download the folder as a zip file.&lt;BR /&gt;&lt;BR /&gt;protected void Page_Load(object sender, EventArgs e)&lt;BR /&gt;{&lt;BR /&gt;     string dropbox_folder = Request.QueryString["folder"];&lt;BR /&gt;     if (dropbox_id == null)&lt;BR /&gt;        Response.Redirect("http://google.com");&lt;BR /&gt;     try&lt;BR /&gt;     {&lt;BR /&gt;        var DownloadTask = Task.Run(async () =&amp;gt;&lt;BR /&gt;        {&lt;BR /&gt;             await Download(dropbox_folder);&lt;BR /&gt;        });&lt;BR /&gt;        DownloadTask.Wait();&lt;BR /&gt;     }&lt;BR /&gt;     catch (Exception ex)&lt;BR /&gt;     {&lt;BR /&gt;         Response.Redirect("http://google.com");&lt;BR /&gt;     }&lt;BR /&gt;}&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Aug 2018 01:42:53 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-folder-as-ZIP-in-api-v2/m-p/288671#M17673</guid>
      <dc:creator>frphotos</dc:creator>
      <dc:date>2018-08-03T01:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Download folder as ZIP in api v2?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-folder-as-ZIP-in-api-v2/m-p/345288#M19924</link>
      <description>&lt;P&gt;I am confused as to what the "version" is above this download_zip documentation (It says Version1 -- however it is on the Dropbox API v2 page.&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 00:45:40 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-folder-as-ZIP-in-api-v2/m-p/345288#M19924</guid>
      <dc:creator>cutch2222</dc:creator>
      <dc:date>2019-05-20T00:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Download folder as ZIP in api v2?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-folder-as-ZIP-in-api-v2/m-p/345508#M19934</link>
      <description>&lt;P&gt;Our apologies if the terminology is confusing.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We actually have two ways of versioning our API. One is the overall API version. The second (and the one you mention in your post) refers to the endpoint itself and has its own versioning.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In other words, you're using v2 of the overall API, but v1 of the download_zip endpoint.&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 19:36:45 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Download-folder-as-ZIP-in-api-v2/m-p/345508#M19934</guid>
      <dc:creator>TaylorKrusen</dc:creator>
      <dc:date>2019-05-20T19:36:45Z</dc:date>
    </item>
  </channel>
</rss>

