<?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: SwiftyDropbox download to stream? in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/SwiftyDropbox-download-to-stream/m-p/575293#M2373</link>
    <description>&lt;P&gt;There isn't a particular maximum download size recommendation in this case. (The upload request limit you mentioned is due to a particular server-side limit with respect to reliability, which doesn't apply to downloads.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, this would be up to you, likely mainly as a matter of how much memory on the device you're willing to have the app consume for this.&lt;/P&gt;</description>
    <pubDate>Thu, 03 Feb 2022 15:24:50 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2022-02-03T15:24:50Z</dc:date>
    <item>
      <title>SwiftyDropbox download to stream?</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/SwiftyDropbox-download-to-stream/m-p/574972#M2368</link>
      <description>&lt;P&gt;Hi -- I'm experimenting with developing a macOS SwiftyDropbox app which downloads and uploads encrypted files, decrypting them on the fly on the user's local machine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I know there's a version of the download function which returns a DownloadRequestMemory rather than a DownloadRequestFile -- does this allow streaming to a buffer? &amp;nbsp;Is there a usage example anywhere?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 12:55:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/SwiftyDropbox-download-to-stream/m-p/574972#M2368</guid>
      <dc:creator>Jon B.1</dc:creator>
      <dc:date>2022-04-27T12:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: SwiftyDropbox download to stream?</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/SwiftyDropbox-download-to-stream/m-p/575162#M2370</link>
      <description>&lt;P&gt;The SwiftyDropbox SDK only provides the two download styles you mentioned: file and memory. You can find a basic example of each in &lt;A href="https://github.com/dropbox/SwiftyDropbox#download-style-request" target="_self"&gt;the readme here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The memory option returns the file data as a Data object (in 'response.1' in the example linked above). The SDK unfortunately doesn't offer an option for returning the data as a Stream instead, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 21:57:25 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/SwiftyDropbox-download-to-stream/m-p/575162#M2370</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-02-02T21:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: SwiftyDropbox download to stream?</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/SwiftyDropbox-download-to-stream/m-p/575182#M2372</link>
      <description>&lt;P&gt;Thanks -- I think it would be a very useful feature to add!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Re the Data object -- is there a recommended maximum size for this kind of download, like the way uploads greater than 150Mb should be done as a session? &amp;nbsp;This will determine whether we try the Data approach and feed it through a stream, or stick with a file download and then decrypt and delete the original file.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 00:33:36 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/SwiftyDropbox-download-to-stream/m-p/575182#M2372</guid>
      <dc:creator>Jon B.1</dc:creator>
      <dc:date>2022-02-03T00:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: SwiftyDropbox download to stream?</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/SwiftyDropbox-download-to-stream/m-p/575293#M2373</link>
      <description>&lt;P&gt;There isn't a particular maximum download size recommendation in this case. (The upload request limit you mentioned is due to a particular server-side limit with respect to reliability, which doesn't apply to downloads.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, this would be up to you, likely mainly as a matter of how much memory on the device you're willing to have the app consume for this.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 15:24:50 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/SwiftyDropbox-download-to-stream/m-p/575293#M2373</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-02-03T15:24:50Z</dc:date>
    </item>
  </channel>
</rss>

