<?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: Problem with download a folder as a zip with API in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-download-a-folder-as-a-zip-with-API/m-p/587327#M27331</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-03-31 at 07.29.09.png" style="width: 800px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/28435i830A20B23BFB86F9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2022-03-31 at 07.29.09.png" alt="Screen Shot 2022-03-31 at 07.29.09.png" /&gt;&lt;/span&gt;Hi,&lt;/P&gt;&lt;P&gt;What is the exactly url which I need to input the API. I want to download a folder with path is /folderName (the folder which has some subfolders in there, and it's also a root folder ) so I try to send request with a /folderName. Moreover, the problem was also happened in the upload API when I try to upload a single file using the API(&lt;A href="https://dropbox.github.io/dropbox-api-v2-explorer/#files_upload" target="_blank" rel="noopener"&gt;https://dropbox.github.io/dropbox-api-v2-explorer/#files_upload&lt;/A&gt;).&lt;/P&gt;</description>
    <pubDate>Thu, 31 Mar 2022 00:29:39 GMT</pubDate>
    <dc:creator>duynh7401</dc:creator>
    <dc:date>2022-03-31T00:29:39Z</dc:date>
    <item>
      <title>Problem with download a folder as a zip with API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-download-a-folder-as-a-zip-with-API/m-p/587259#M27323</link>
      <description>&lt;P&gt;I try to use this API a lot of time, but it always download a document file which I even could not open. It will be better more if you teach me how to implement this API by using Java JDK.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The upload api is the same case with download, when I upload any file, it will upload a document file which I could not open.&lt;/P&gt;
&lt;P&gt;Thank you all.&lt;/P&gt;
&lt;P&gt;Link download zip file API:&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-api-v2-explorer/#files_download_zip" target="_blank" rel="noopener"&gt;https://dropbox.github.io/dropbox-api-v2-explorer/#files_download_zip&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-03-31 at 02.08.07.png" style="width: 493px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/28428i804FB0AE4DBD06C7/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2022-03-31 at 02.08.07.png" alt="Screen Shot 2022-03-31 at 02.08.07.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 09:47:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-download-a-folder-as-a-zip-with-API/m-p/587259#M27323</guid>
      <dc:creator>duynh7401</dc:creator>
      <dc:date>2022-03-31T09:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with download a folder as a zip with API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-download-a-folder-as-a-zip-with-API/m-p/587315#M27330</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1530783"&gt;@duynh7401&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;I try to use this API a lot of time, but it always &lt;STRONG&gt;download a document file&lt;/STRONG&gt; which I even could not open. ...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1530783"&gt;@duynh7401&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Be careful what exactly you are trying download and if that what you are trying matches particular API call requirements. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt; If you take a look on &lt;A title="Download a folder" href="https://www.dropbox.com/developers/documentation/http/documentation#files-download_zip" target="_blank" rel="noopener"&gt;2/files/download_zip&lt;/A&gt; documentation, you will see:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;Download a folder from the user's Dropbox, as a zip file. The folder must be less than 20 GB in size and any single file within must be less than 4 GB in size. The resulting zip must have fewer than 10,000 total file and folder entries, including the top level folder. &lt;STRONG&gt;The input cannot be a single file&lt;/STRONG&gt;.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;i.e. you are trying to do something impossible!&lt;/P&gt;&lt;P&gt;Hope this clarifies matter.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2022 22:12:43 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-download-a-folder-as-a-zip-with-API/m-p/587315#M27330</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2022-03-30T22:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with download a folder as a zip with API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-download-a-folder-as-a-zip-with-API/m-p/587327#M27331</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-03-31 at 07.29.09.png" style="width: 800px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/28435i830A20B23BFB86F9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2022-03-31 at 07.29.09.png" alt="Screen Shot 2022-03-31 at 07.29.09.png" /&gt;&lt;/span&gt;Hi,&lt;/P&gt;&lt;P&gt;What is the exactly url which I need to input the API. I want to download a folder with path is /folderName (the folder which has some subfolders in there, and it's also a root folder ) so I try to send request with a /folderName. Moreover, the problem was also happened in the upload API when I try to upload a single file using the API(&lt;A href="https://dropbox.github.io/dropbox-api-v2-explorer/#files_upload" target="_blank" rel="noopener"&gt;https://dropbox.github.io/dropbox-api-v2-explorer/#files_upload&lt;/A&gt;).&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 00:29:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-download-a-folder-as-a-zip-with-API/m-p/587327#M27331</guid>
      <dc:creator>duynh7401</dc:creator>
      <dc:date>2022-03-31T00:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with download a folder as a zip with API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-download-a-folder-as-a-zip-with-API/m-p/587334#M27332</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1530783"&gt;@duynh7401&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;While pointed path is folder everything is Ok. Let's assume you are using Dropbox application on your computer and there is Dropbox folder somewhere (doesn't matter where exactly - on default place or different one). I will mark this folder as just "Dropbox" (something typical). If I can follow your description correctly, Dropbox folder has a "folderName" subfolder, which on the other side has few more subfolders within. 🧐 Is this correct?&lt;/P&gt;&lt;P&gt;I assume it is. So, Yes, you should fill the path field in Dropbox API Explorer with "/folderName" (without quotes). Take in mind the resulting zip file to download will match the folder name - i.e. "folderName" - without extension by default! This might confuse your file explorer (some are too stupid and can't distinguish file type without extension). Add ".zip" to the downloaded file name (i.e. "folderName.zip") to make sure your file explorer can "understand" the file correctly.&amp;nbsp;&lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt; Let's hope this will fix your download issue.&lt;/P&gt;&lt;P&gt;I can not understand what actually fails with your upload. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@9AD39CA637682E9616FBE31CDAF1B6C4/emoticons/1f914.png" alt=":thinking_face:" title=":thinking_face:" /&gt; You haven't added any details! Just to note that &lt;A title="Create a new file with the contents provided in the request." href="https://www.dropbox.com/developers/documentation/http/documentation#files-upload" target="_blank" rel="noopener"&gt;2/files/upload&lt;/A&gt; can upload single file, not entire folder. Add some more details.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 01:00:25 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-download-a-folder-as-a-zip-with-API/m-p/587334#M27332</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2022-03-31T01:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with download a folder as a zip with API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-download-a-folder-as-a-zip-with-API/m-p/587360#M27333</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/422790"&gt;@Здравко&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I mean a have a folder Q4 (like structure in the picture), I want to download it as a zip, when I use the api to download, it caused the problem. As your information, I have add .zip after the folder name (as picture) but it's still not working.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-03-31 at 11.53.49.png" style="width: 800px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/28437iFD8C99AD4CCDA2C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2022-03-31 at 11.53.49.png" alt="Screen Shot 2022-03-31 at 11.53.49.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-03-31 at 11.53.58.png" style="width: 800px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/28438iD034AA8A50B689B6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2022-03-31 at 11.53.58.png" alt="Screen Shot 2022-03-31 at 11.53.58.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-03-31 at 11.54.06.png" style="width: 504px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/28436iA0613D125605000A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2022-03-31 at 11.54.06.png" alt="Screen Shot 2022-03-31 at 11.54.06.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 04:58:17 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-download-a-folder-as-a-zip-with-API/m-p/587360#M27333</guid>
      <dc:creator>duynh7401</dc:creator>
      <dc:date>2022-03-31T04:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with download a folder as a zip with API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-download-a-folder-as-a-zip-with-API/m-p/587424#M27338</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1530783"&gt;@duynh7401&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@D6F1E7339C4A1D356873D19B1E420FB0/emoticons/1f62f.png" alt=":hushed_face:" title=":hushed_face:" /&gt; Seems I was not clear enough.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/422790"&gt;@Здравко&lt;/a&gt;&amp;nbsp;wrote:&lt;P&gt;...&amp;nbsp;you should fill the path field in Dropbox API Explorer with "/folderName" (without quotes). ...&amp;nbsp;&lt;STRONG&gt;Add ".zip" to the downloaded file name&lt;/STRONG&gt; (i.e. "folderName.zip") to make sure your file explorer can "understand" the file correctly. ...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1530783"&gt;@duynh7401&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/422790"&gt;@Здравко&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;... As your information, I have add .zip after the folder name (as picture) but it's still not working.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-03-31 at 11.53.58.png" style="width: 800px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/28438iD034AA8A50B689B6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2022-03-31 at 11.53.58.png" alt="Screen Shot 2022-03-31 at 11.53.58.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I haven't mentioned adding ".zip" in path field!!! Do you have a folder in your account with name "Q4.zip"?! 🧐... Of course, that's why result is "path/not found/". &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt; Path field is for the folder path, not to the downloaded file name! That's why your first call succeeds:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1530783"&gt;@duynh7401&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-03-31 at 11.53.49.png" style="width: 800px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/28437iFD8C99AD4CCDA2C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2022-03-31 at 11.53.49.png" alt="Screen Shot 2022-03-31 at 11.53.49.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;After this call, result gets backup in your browser; you can push "Download Q4" to get it as a file. In this particular case your browser will propose file name "Q4"; here you can add ".zip" and rename it to "Q4.zip" - at this moment (or later), not in advance! The situation is similar when you use your SDK. The data stream is just a file content, again; this stream doesn't contain file name - managing correct name is your responsibility! Probably that's something you are missing. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt;&lt;/P&gt;&lt;P&gt;Hope it's a bit more clear now.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 12:40:28 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-download-a-folder-as-a-zip-with-API/m-p/587424#M27338</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2022-03-31T12:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with download a folder as a zip with API</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-download-a-folder-as-a-zip-with-API/m-p/587426#M27339</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/422790"&gt;@Здравко&lt;/a&gt;&amp;nbsp;that's cool. Thank you a lot.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 12:46:56 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Problem-with-download-a-folder-as-a-zip-with-API/m-p/587426#M27339</guid>
      <dc:creator>duynh7401</dc:creator>
      <dc:date>2022-03-31T12:46:56Z</dc:date>
    </item>
  </channel>
</rss>

