<?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: Using CSVhelper with Dropbox - need a stream in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-CSVhelper-with-Dropbox-need-a-stream/m-p/363763#M20666</link>
    <description>&lt;P&gt;It sounds like you're referring to using &lt;A href="https://github.com/dropbox/dropbox-sdk-dotnet" target="_self"&gt;the&amp;nbsp;Dropbox API v2 .NET SDK&lt;/A&gt;. The &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_DownloadAsync_1.htm" target="_self"&gt;documentation for the&amp;nbsp;DownloadAsync method can be found here&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That does offer the ability to access the requested file data as a stream from DownloadAsync. On the resulting&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_Stone_IDownloadResponse_1.htm" target="_self"&gt;IDownloadResponse&lt;/A&gt;, use &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Stone_IDownloadResponse_1_GetContentAsStreamAsync.htm" target="_self"&gt;the GetContentAsStreamAsync method&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Fri, 06 Sep 2019 15:40:46 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2019-09-06T15:40:46Z</dc:date>
    <item>
      <title>Using CSVhelper with Dropbox - need a stream</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-CSVhelper-with-Dropbox-need-a-stream/m-p/363649#M20664</link>
      <description>&lt;P&gt;Hi. I'm currently wanting to use&amp;nbsp;&lt;A href="https://github.com/JoshClose/CsvHelper" target="_blank" rel="noopener"&gt;https://github.com/JoshClose/CsvHelper&lt;/A&gt;&amp;nbsp;with a Dropbox CSV file, but it takes a stream. I'm looking around but can't find anything about getting a stream (I've been using DownloadAsync to date to get files, and yet for some reason my searches aren't even bringing up the doco for that for me to refer back to!).&lt;/P&gt;&lt;P&gt;So from the examples, I need to change this line -&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="hljs-keyword"&gt;using&lt;/SPAN&gt; (&lt;SPAN class="hljs-keyword"&gt;var&lt;/SPAN&gt; reader = &lt;SPAN class="hljs-keyword"&gt;new&lt;/SPAN&gt; StreamReader(&lt;SPAN class="hljs-string"&gt;"path\\to\\file.csv"&lt;/SPAN&gt;))&lt;/PRE&gt;&lt;P&gt;to something like -&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="hljs-keyword"&gt;using&lt;/SPAN&gt; (&lt;SPAN class="hljs-keyword"&gt;var&lt;/SPAN&gt; reader=dropboxClient.Files.SomeDropboxAPIforFileStreams(&lt;SPAN class="hljs-string"&gt;"MyDropboxFile.csv"&lt;/SPAN&gt;))&lt;/PRE&gt;&lt;P&gt;Can you point me in the right direction here for whatever SomeDropboxAPIforFileStreams would be? Or some other way to achieve that?&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Donald.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 04:46:05 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-CSVhelper-with-Dropbox-need-a-stream/m-p/363649#M20664</guid>
      <dc:creator>donaldp</dc:creator>
      <dc:date>2019-09-06T04:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Using CSVhelper with Dropbox - need a stream</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-CSVhelper-with-Dropbox-need-a-stream/m-p/363763#M20666</link>
      <description>&lt;P&gt;It sounds like you're referring to using &lt;A href="https://github.com/dropbox/dropbox-sdk-dotnet" target="_self"&gt;the&amp;nbsp;Dropbox API v2 .NET SDK&lt;/A&gt;. The &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_DownloadAsync_1.htm" target="_self"&gt;documentation for the&amp;nbsp;DownloadAsync method can be found here&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That does offer the ability to access the requested file data as a stream from DownloadAsync. On the resulting&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_Stone_IDownloadResponse_1.htm" target="_self"&gt;IDownloadResponse&lt;/A&gt;, use &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Stone_IDownloadResponse_1_GetContentAsStreamAsync.htm" target="_self"&gt;the GetContentAsStreamAsync method&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 15:40:46 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-CSVhelper-with-Dropbox-need-a-stream/m-p/363763#M20666</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-09-06T15:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: Using CSVhelper with Dropbox - need a stream</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-CSVhelper-with-Dropbox-need-a-stream/m-p/363830#M20667</link>
      <description>&lt;P&gt;Thanks Greg. Oddly, I just tried the search again, and this time the doco showed up! Not sure why it wasn't appearing yesterday. Anyway, thanks again.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 23:23:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-CSVhelper-with-Dropbox-need-a-stream/m-p/363830#M20667</guid>
      <dc:creator>donaldp</dc:creator>
      <dc:date>2019-09-06T23:23:48Z</dc:date>
    </item>
  </channel>
</rss>

