<?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: .NET C# - Check and download/Sync missing files with local files in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NET-C-Check-and-download-Sync-missing-files-with-local-files/m-p/300934#M18225</link>
    <description>&lt;P&gt;[Cross-linking for reference:&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/52625933/net-c-sharp-check-and-download-sync-missing-files-with-local-files-using-drop" target="_blank"&gt;https://stackoverflow.com/questions/52625933/net-c-sharp-check-and-download-sync-missing-files-with-local-files-using-drop&lt;/A&gt; ]&lt;/P&gt;
&lt;P&gt;"use the file size as a reference?"&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I do not&amp;nbsp;recommend using size, as that can result in false positives. That is, two files can have the same size but different contents.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;"How can i check if a specific file has been modified in the dropbox directory comparing it with the local files(If it hjas been downloaded before)?"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;One way to do this would be to record which "rev" you downloaded, that is, the&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/P_Dropbox_Api_Files_FileMetadata_Rev.htm" target="_blank"&gt;FileMetadata.Rev&lt;/A&gt;, included with the file &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_DownloadAsync_1.htm" target="_blank"&gt;download&lt;/A&gt;. When you check again later (e.g., from &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_GetMetadataAsync_1.htm" target="_blank"&gt;GetMetadata&lt;/A&gt; or &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_ListFolderAsync_1.htm" target="_blank"&gt;ListFolder&lt;/A&gt;[&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_ListFolderContinueAsync_1.htm" target="_blank"&gt;Continue&lt;/A&gt;]), if the rev hasn't changed, you know you still have the latest copy. If the rev has changed, the file data may have changed.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Alternatively, you can check the&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/P_Dropbox_Api_Files_FileMetadata_ContentHash.htm" target="_blank"&gt;FileMetadata.ContentHash&lt;/A&gt;. That can directly indicate if you have the same file data. You can find information on how that works &lt;A href="https://www.dropbox.com/developers/reference/content-hash" target="_blank"&gt;here&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;"How can i download the file asynchronously to the same local folder?"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can use &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_DownloadAsync_1.htm" target="_blank"&gt;the DownloadAsync method&lt;/A&gt; to download files, as seen in the examples &lt;A href="https://github.com/dropbox/dropbox-sdk-dotnet/blob/b8f5c751f9df6765f4e2bbb98b39bc6bde5cfadc/dropbox-sdk-dotnet/Examples/SimpleTest/Program.cs" target="_blank"&gt;here&lt;/A&gt; and &lt;A href="https://github.com/dropbox/dropbox-sdk-dotnet/blob/d0b609bf7ca97051eb91f3802b49931389ba7404/dropbox-sdk-dotnet/Examples/SimpleBlogDemo/Helpers/BlogHelpers.cs" target="_blank"&gt;here&lt;/A&gt;. What you do with the file data is up to you. For instance, unlike those examples, it sounds like you want to save the data to the local filesystem.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;"How can i implement a progress bar showing the file name AND the progress in percent(0-100)?"&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The&amp;nbsp;Dropbox API v2 .NET SDK does not offer progress listeners,&amp;nbsp;but I'll be sure to pass this along as feedback. You can track progress from the download stream itself though as shown in &lt;A href="https://www.dropboxforum.com/t5/API-Support-Feedback/How-to-get-Progress-Status-while-uploading-downloading-a-file-in/m-p/170684" target="_blank"&gt;this thread&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;</description>
    <pubDate>Wed, 03 Oct 2018 15:46:21 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2018-10-03T15:46:21Z</dc:date>
    <item>
      <title>.NET C# - Check and download/Sync missing files with local files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NET-C-Check-and-download-Sync-missing-files-with-local-files/m-p/300846#M18219</link>
      <description>&lt;P&gt;Hello everyone!&lt;BR /&gt;&lt;BR /&gt;I'm stuck for 2 days now with the API... I'm creating a game launcher where i need to download(sync), all the files for the game Client from Dropbox to the User.&lt;BR /&gt;&lt;BR /&gt;My goal is to check within the local files if the file from my dropbox account exists, if not, download to the specific folder.&lt;BR /&gt;&lt;BR /&gt;It's kinda frustrating using async tasks... But i need my application to be responsive while checking and downloading files, also using a progressbar showing the specific file that is been downloaded. I don't want to download a Zip file because if i made a small change within the client, i don't want the user to download the whole client again and again...&lt;BR /&gt;&lt;BR /&gt;To check if a file has been modified, i wanted to use the Hashing method, but i have no idea how to use it... So i think it is easier to use the file size as a reference?&lt;BR /&gt;&lt;BR /&gt;After one day i finally did a simple Dropbox files and directory list... It was a pain in the A...&lt;BR /&gt;&lt;BR /&gt;But i noticed it is not possible to async download a file inside the async check? Or am i doing something wrong? I know something about C#, but i had always problems understanding the async function...&lt;BR /&gt;&lt;BR /&gt;So my questions are:&lt;BR /&gt;- How can i check if a specific file has been modified in the dropbox directory comparing it with the local files(If it hjas been downloaded before)?&lt;BR /&gt;- How can i download the file asynchronously to the same local folder?&lt;BR /&gt;- How can i implement a progress bar showing the file name AND the progress in percent(0-100)?&lt;BR /&gt;&lt;BR /&gt;i hope you can help me somehow, i searched for a solution on google before, but i had no luck or i didn't understand the specific solution.&lt;BR /&gt;Google Drive is too complicated for me, so i hope i have some luck using Dropbox...&lt;BR /&gt;&lt;BR /&gt;And sorry for my english, i'm no native english speaker!&lt;BR /&gt;&lt;BR /&gt;Oh, yeah, here's my code:&lt;/P&gt;&lt;PRE&gt;static async Task CheckFiles()
        {
            using (var dbx = new DropboxClient(token))
            {
                var amount = 0;
                var list = await dbx.Files.ListFolderAsync(string.Empty, true, false, false, false, true);
                string directoryPath;

                Debug.WriteLine("Dropbox File lister BEGIN");

                foreach (var item in list.Entries.Where(i =&amp;gt; i.IsFolder))
                {
                    Debug.WriteLine("Directory: " + item.AsFolder.PathDisplay);
                    directoryPath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + ClientDirectory + item.PathDisplay;
                    Directory.CreateDirectory(directoryPath);
                    amount++;
                }

                foreach (var item in list.Entries.Where(i =&amp;gt; i.IsFile))
                {
                    Debug.WriteLine("File: {0} | Directory: {1} | Size: {2} | Hash: {3}", item.Name, Path.GetDirectoryName(item.PathDisplay), item.AsFile.Size, item.AsFile.ContentHash);
                    //That's not working!
                    using (var response = dbx.Files.DownloadAsync(Path.GetDirectoryName(item.PathDisplay) + "/" + item.Name))
                    {
                        Debug.WriteLine(response.GetContentAsStringAsync());
                    }
                    //
                    amount++;
                }

                Debug.WriteLine("Dropbox File lister END - Found: {0} entries", amount);
            }
        }&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Best regards!&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:10:05 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NET-C-Check-and-download-Sync-missing-files-with-local-files/m-p/300846#M18219</guid>
      <dc:creator>Nickk888</dc:creator>
      <dc:date>2019-05-29T09:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: .NET C# - Check and download/Sync missing files with local files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NET-C-Check-and-download-Sync-missing-files-with-local-files/m-p/300934#M18225</link>
      <description>&lt;P&gt;[Cross-linking for reference:&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/52625933/net-c-sharp-check-and-download-sync-missing-files-with-local-files-using-drop" target="_blank"&gt;https://stackoverflow.com/questions/52625933/net-c-sharp-check-and-download-sync-missing-files-with-local-files-using-drop&lt;/A&gt; ]&lt;/P&gt;
&lt;P&gt;"use the file size as a reference?"&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I do not&amp;nbsp;recommend using size, as that can result in false positives. That is, two files can have the same size but different contents.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;"How can i check if a specific file has been modified in the dropbox directory comparing it with the local files(If it hjas been downloaded before)?"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;One way to do this would be to record which "rev" you downloaded, that is, the&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/P_Dropbox_Api_Files_FileMetadata_Rev.htm" target="_blank"&gt;FileMetadata.Rev&lt;/A&gt;, included with the file &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_DownloadAsync_1.htm" target="_blank"&gt;download&lt;/A&gt;. When you check again later (e.g., from &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_GetMetadataAsync_1.htm" target="_blank"&gt;GetMetadata&lt;/A&gt; or &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_ListFolderAsync_1.htm" target="_blank"&gt;ListFolder&lt;/A&gt;[&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_ListFolderContinueAsync_1.htm" target="_blank"&gt;Continue&lt;/A&gt;]), if the rev hasn't changed, you know you still have the latest copy. If the rev has changed, the file data may have changed.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Alternatively, you can check the&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/P_Dropbox_Api_Files_FileMetadata_ContentHash.htm" target="_blank"&gt;FileMetadata.ContentHash&lt;/A&gt;. That can directly indicate if you have the same file data. You can find information on how that works &lt;A href="https://www.dropbox.com/developers/reference/content-hash" target="_blank"&gt;here&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;"How can i download the file asynchronously to the same local folder?"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can use &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_DownloadAsync_1.htm" target="_blank"&gt;the DownloadAsync method&lt;/A&gt; to download files, as seen in the examples &lt;A href="https://github.com/dropbox/dropbox-sdk-dotnet/blob/b8f5c751f9df6765f4e2bbb98b39bc6bde5cfadc/dropbox-sdk-dotnet/Examples/SimpleTest/Program.cs" target="_blank"&gt;here&lt;/A&gt; and &lt;A href="https://github.com/dropbox/dropbox-sdk-dotnet/blob/d0b609bf7ca97051eb91f3802b49931389ba7404/dropbox-sdk-dotnet/Examples/SimpleBlogDemo/Helpers/BlogHelpers.cs" target="_blank"&gt;here&lt;/A&gt;. What you do with the file data is up to you. For instance, unlike those examples, it sounds like you want to save the data to the local filesystem.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;"How can i implement a progress bar showing the file name AND the progress in percent(0-100)?"&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The&amp;nbsp;Dropbox API v2 .NET SDK does not offer progress listeners,&amp;nbsp;but I'll be sure to pass this along as feedback. You can track progress from the download stream itself though as shown in &lt;A href="https://www.dropboxforum.com/t5/API-Support-Feedback/How-to-get-Progress-Status-while-uploading-downloading-a-file-in/m-p/170684" target="_blank"&gt;this thread&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 03 Oct 2018 15:46:21 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NET-C-Check-and-download-Sync-missing-files-with-local-files/m-p/300934#M18225</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-10-03T15:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: .NET C# - Check and download/Sync missing files with local files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NET-C-Check-and-download-Sync-missing-files-with-local-files/m-p/621495#M28721</link>
      <description>&lt;P&gt;Hi Nickk,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do the game launcher work for you?&lt;/P&gt;&lt;P&gt;If yes, do we need to hardcode the token and make it available to all client user?&lt;/P&gt;&lt;P&gt;Thanks and hope to hear from you soon.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 11:34:40 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NET-C-Check-and-download-Sync-missing-files-with-local-files/m-p/621495#M28721</guid>
      <dc:creator>mikesam</dc:creator>
      <dc:date>2022-09-09T11:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: .NET C# - Check and download/Sync missing files with local files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NET-C-Check-and-download-Sync-missing-files-with-local-files/m-p/621500#M28722</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/61346"&gt;@mikesam&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;If yes, do we need to hardcode the token and make it available to all client user?&lt;/P&gt;&lt;P&gt;...&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/61346"&gt;@mikesam&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Any kind of authentication info (including token) should be handled with care. Such information should be embedded only when application gonna be used on server side or by responsible person (or limited set of persons). In any other case embedding such information can be considered as a security hole. It can be dangerous for both the authenticated account as well as application users. So, such thing should be performed with extreme care and it's generally discouraged!&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 12:00:56 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NET-C-Check-and-download-Sync-missing-files-with-local-files/m-p/621500#M28722</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2022-09-09T12:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: .NET C# - Check and download/Sync missing files with local files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NET-C-Check-and-download-Sync-missing-files-with-local-files/m-p/621501#M28723</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/422790"&gt;@Здравко&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for you reply.&lt;/P&gt;&lt;P&gt;Do you have any better suggestions if I had the same use case as Nickk?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The idea was have a game launcher can get up-to-date files from dropbox (specified folder)&lt;/P&gt;&lt;P&gt;Without write access to that token would be fine I guess.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 12:09:24 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NET-C-Check-and-download-Sync-missing-files-with-local-files/m-p/621501#M28723</guid>
      <dc:creator>mikesam</dc:creator>
      <dc:date>2022-09-09T12:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: .NET C# - Check and download/Sync missing files with local files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NET-C-Check-and-download-Sync-missing-files-with-local-files/m-p/621503#M28724</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/61346"&gt;@mikesam&lt;/a&gt;, to be honest, I'm not certain what you are asking actually. Greg's post above describes things in useful manner. Can you clarify what isn't working for you or what exactly you can't understand? 🧐&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Add: Something missing, both in OP and in Greg's answer too, is at present long lived access token is not issued anymore. This type of token is obsolete, in spite existing can still be used. Its successor is refresh token (for long term access). So, you may consider refresh token usage instead of long-lived access token, if applicable. Keeping the code from OP (or similar) without any change gonna require re-authentication on regular basis (like every 4 hours). This is a recent change.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 12:45:08 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NET-C-Check-and-download-Sync-missing-files-with-local-files/m-p/621503#M28724</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2022-09-09T12:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: .NET C# - Check and download/Sync missing files with local files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NET-C-Check-and-download-Sync-missing-files-with-local-files/m-p/621514#M28727</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/61346"&gt;@mikesam&lt;/a&gt; As Здравко mentioned, it's not recommended to distribute any access tokens for your own account to other users. You can technically now use &lt;A href="https://dropbox.tech/developers/migrating-app-permissions-and-access-tokens" target="_blank"&gt;scopes&lt;/A&gt; to restrict an app/access token to only have read and not write access, but it still would be a bad security practice to distribute your access token(s). You may be better served by a more general purpose CDN.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 12:47:59 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NET-C-Check-and-download-Sync-missing-files-with-local-files/m-p/621514#M28727</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-09-09T12:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: .NET C# - Check and download/Sync missing files with local files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NET-C-Check-and-download-Sync-missing-files-with-local-files/m-p/621521#M28729</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I'm stucking at the examples, seems that examples no longer work.&lt;/P&gt;&lt;P&gt;And some of the page/link of reply from Greg was broken.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mikesam_0-1662730663028.png" style="width: 400px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/31534i2BD4BBC5632AB28C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mikesam_0-1662730663028.png" alt="mikesam_0-1662730663028.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 13:37:53 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NET-C-Check-and-download-Sync-missing-files-with-local-files/m-p/621521#M28729</guid>
      <dc:creator>mikesam</dc:creator>
      <dc:date>2022-09-09T13:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: .NET C# - Check and download/Sync missing files with local files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NET-C-Check-and-download-Sync-missing-files-with-local-files/m-p/621525#M28730</link>
      <description>&lt;P&gt;Would be fine if you have supplied a reference to the example you are evaluating and the code-line where issues are rising from.&lt;/P&gt;&lt;P&gt;As far as I can see, you are trying to upload something and file content get directed to as metadata instead of as file content (as should be). This comes/can be seen from the error message.&amp;nbsp;&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; I don't know what actually does confuse you. Review your code. &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;</description>
      <pubDate>Fri, 09 Sep 2022 13:48:50 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NET-C-Check-and-download-Sync-missing-files-with-local-files/m-p/621525#M28730</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2022-09-09T13:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: .NET C# - Check and download/Sync missing files with local files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NET-C-Check-and-download-Sync-missing-files-with-local-files/m-p/621613#M28733</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/61346"&gt;@mikesam&lt;/a&gt; My first post in this thread was from several years ago, so some things may have changed since then. You can find the &lt;A href="https://github.com/dropbox/dropbox-sdk-dotnet" target="_blank"&gt;latest resources for the .NET SDK here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If something isn't working as expected, please share the details, such as the steps you're following and the code you're running, so we can take a look.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 20:23:03 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NET-C-Check-and-download-Sync-missing-files-with-local-files/m-p/621613#M28733</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-09-09T20:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: .NET C# - Check and download/Sync missing files with local files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NET-C-Check-and-download-Sync-missing-files-with-local-files/m-p/621627#M28735</link>
      <description>Hello everyone.&lt;BR /&gt;&lt;BR /&gt;To answer the question &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/61346"&gt;@mikesam&lt;/a&gt; gave, my Game launcher works, yes, BUT! I'm currently not using any API. I am just downloading the whole game from my VPS packed in a ZIP file, though it's not ideal, it works...&lt;BR /&gt;&lt;BR /&gt;For the files: I'm checking the SHA-256 Hash of the games directory, checking if it matches the hash on the VPS, if not, delete game and unpack again. It's a bit of a "messy" practice, but it gets the Job done somehow. Though I would love to use an API as easy as Dropbox to make it properly, but I can't find any solution to make an App securely download files for other untrusted users without a Token like a game launcher simmilar to Steam, even if used non-commercially.&lt;BR /&gt;&lt;BR /&gt;I could make my own API that downloads and somehow syncs files from my Virtual Private Server, but, why reinvent the wheel?...&lt;BR /&gt;&lt;BR /&gt;Maybe Dropbox will add something like that in the future, maybe it's not allowed or not intended for that case, maybe wait for a different API, or maybe learn C# like a Pro and make an API yourself...</description>
      <pubDate>Fri, 09 Sep 2022 21:36:56 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NET-C-Check-and-download-Sync-missing-files-with-local-files/m-p/621627#M28735</guid>
      <dc:creator>Nickk888</dc:creator>
      <dc:date>2022-09-09T21:36:56Z</dc:date>
    </item>
  </channel>
</rss>

