<?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 Get shared links of all files in App folder in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-shared-links-of-all-files-in-App-folder/m-p/338544#M19678</link>
    <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I'm using Dropbox Api for .NET. I would like to list all files together with their shared links. Here's my current code:&lt;/P&gt;&lt;PRE&gt;var listFolderResult = await _dropboxClient.Files.ListFolderAsync(String.Empty, recursive: true);
var files = listFolderResult.Entries.Where(x =&amp;gt; x.IsFile).Select(x =&amp;gt; x.AsFile);
foreach (var file in files)
{
    var listSharedLinksResult = await _dropboxClient.Sharing.ListSharedLinksAsync(file.PathDisplay);
}&lt;/PRE&gt;&lt;P&gt;It works, but I have to make a request for shared link for every file and that is time-consuming. I tested this code on account with 50 files and the whole operation took about 1 minute. Is there any faster way to get all files (I need only names and sizes) with their shared links?&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:06:59 GMT</pubDate>
    <dc:creator>andrzejkul</dc:creator>
    <dc:date>2019-05-29T09:06:59Z</dc:date>
    <item>
      <title>Get shared links of all files in App folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-shared-links-of-all-files-in-App-folder/m-p/338544#M19678</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I'm using Dropbox Api for .NET. I would like to list all files together with their shared links. Here's my current code:&lt;/P&gt;&lt;PRE&gt;var listFolderResult = await _dropboxClient.Files.ListFolderAsync(String.Empty, recursive: true);
var files = listFolderResult.Entries.Where(x =&amp;gt; x.IsFile).Select(x =&amp;gt; x.AsFile);
foreach (var file in files)
{
    var listSharedLinksResult = await _dropboxClient.Sharing.ListSharedLinksAsync(file.PathDisplay);
}&lt;/PRE&gt;&lt;P&gt;It works, but I have to make a request for shared link for every file and that is time-consuming. I tested this code on account with 50 files and the whole operation took about 1 minute. Is there any faster way to get all files (I need only names and sizes) with their shared links?&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:06:59 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-shared-links-of-all-files-in-App-folder/m-p/338544#M19678</guid>
      <dc:creator>andrzejkul</dc:creator>
      <dc:date>2019-05-29T09:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Get shared links of all files in App folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-shared-links-of-all-files-in-App-folder/m-p/338546#M19679</link>
      <description>&lt;P&gt;No, unfortunately there isn't a way to retrieve shared links along with the file listing, or a way to get shared links in bulk.&amp;nbsp;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, 10 Apr 2019 15:05:13 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Get-shared-links-of-all-files-in-App-folder/m-p/338546#M19679</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-04-10T15:05:13Z</dc:date>
    </item>
  </channel>
</rss>

