<?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: How to check if filezip is too big to download in shared link in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-check-if-filezip-is-too-big-to-download-in-shared-link/m-p/316941#M18800</link>
    <description>&lt;P&gt;so greg, this dropbox api offer very very basic functionalities but i found a way to do that:&lt;/P&gt;&lt;P&gt;1. pass download path to my php sdk&lt;/P&gt;&lt;P&gt;2. using listfolder api with recursive set to true&lt;/P&gt;&lt;P&gt;3. reduce results entries with array_reduce php function to sum file size in bytes&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. check with dropbox filesize limit (20 gb + 10000 files count)&lt;/P&gt;&lt;P&gt;5 and return status of check, if sum of files is to big or files count is greater than 10000 files&lt;/P&gt;&lt;P&gt;i hope to be usefull for someone&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;</description>
    <pubDate>Mon, 10 Dec 2018 18:21:51 GMT</pubDate>
    <dc:creator>raziel79</dc:creator>
    <dc:date>2018-12-10T18:21:51Z</dc:date>
    <item>
      <title>How to check if filezip is too big to download in shared link</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-check-if-filezip-is-too-big-to-download-in-shared-link/m-p/315759#M18739</link>
      <description>&lt;P&gt;Hi allo,&lt;/P&gt;&lt;P&gt;with JS api i have create a function that use&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;sharingCreateSharedLink&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;for create a shared link and redirect user with ?dl=1 fro download it. But if zip is too big the user exit from my app and go on dropbox with 500 error. How to check id shared folder is too big to download and prevent redirect? is there any api ?&lt;/P&gt;&lt;P&gt;Best all&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:08:56 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-check-if-filezip-is-too-big-to-download-in-shared-link/m-p/315759#M18739</guid>
      <dc:creator>raziel79</dc:creator>
      <dc:date>2019-05-29T09:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if filezip is too big to download in shared link</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-check-if-filezip-is-too-big-to-download-in-shared-link/m-p/315885#M18745</link>
      <description>&lt;P&gt;Unfortunately, there isn't a way to check ahead of time if the folder is too big for the `?dl=1` mechanism.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 16:40:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-check-if-filezip-is-too-big-to-download-in-shared-link/m-p/315885#M18745</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-12-05T16:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if filezip is too big to download in shared link</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-check-if-filezip-is-too-big-to-download-in-shared-link/m-p/316831#M18793</link>
      <description>&lt;P&gt;thx greg is there another mechanism?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2018 11:42:46 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-check-if-filezip-is-too-big-to-download-in-shared-link/m-p/316831#M18793</guid>
      <dc:creator>raziel79</dc:creator>
      <dc:date>2018-12-10T11:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if filezip is too big to download in shared link</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-check-if-filezip-is-too-big-to-download-in-shared-link/m-p/316941#M18800</link>
      <description>&lt;P&gt;so greg, this dropbox api offer very very basic functionalities but i found a way to do that:&lt;/P&gt;&lt;P&gt;1. pass download path to my php sdk&lt;/P&gt;&lt;P&gt;2. using listfolder api with recursive set to true&lt;/P&gt;&lt;P&gt;3. reduce results entries with array_reduce php function to sum file size in bytes&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. check with dropbox filesize limit (20 gb + 10000 files count)&lt;/P&gt;&lt;P&gt;5 and return status of check, if sum of files is to big or files count is greater than 10000 files&lt;/P&gt;&lt;P&gt;i hope to be usefull for someone&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2018 18:21:51 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-check-if-filezip-is-too-big-to-download-in-shared-link/m-p/316941#M18800</guid>
      <dc:creator>raziel79</dc:creator>
      <dc:date>2018-12-10T18:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if filezip is too big to download in shared link</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-check-if-filezip-is-too-big-to-download-in-shared-link/m-p/316943#M18802</link>
      <description>&lt;P&gt;Thanks for following up with that. Yes, that would be the way to manually figure this out using the API.&amp;nbsp;Apologies there isn't a more direct way of doing that!&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2018 18:29:27 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-check-if-filezip-is-too-big-to-download-in-shared-link/m-p/316943#M18802</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-12-10T18:29:27Z</dc:date>
    </item>
  </channel>
</rss>

