<?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: Upload to a specific file id in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Upload-to-a-specific-file-id/m-p/748545#M32886</link>
    <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1796744"&gt;@julio_diniz_perdigao&lt;/a&gt; As Здравко suggested, you don't necessarily need the file ID and can instead monitor for changes. Check out the &lt;A href="https://developers.dropbox.com/detecting-changes-guide" target="_blank"&gt;Detecting Changes Guide&lt;/A&gt; for information on how to do so.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that isn't sufficient for your use case though, you could first upload a placeholder (e.g., a zero byte file, or something else of your choosing) from the back-end to get the file ID for that, and then configure the temporary upload link to overwrite that placeholder file.&lt;/P&gt;</description>
    <pubDate>Thu, 01 Feb 2024 18:34:18 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2024-02-01T18:34:18Z</dc:date>
    <item>
      <title>Upload to a specific file id</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Upload-to-a-specific-file-id/m-p/748475#M32880</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;Google Drive has an method that we can create the file ID first, before start upload.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does Dropbox has somenthing similar?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My point is, to get file metadata, specially file size, after upload is done via getTemporaryUploadLink.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Knowing the file ID before, I can prevent broken response between the client-side upload and my back-end call.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now, I am doing:&lt;/P&gt;
&lt;P&gt;1 - create upload link with getTemporaryUploadLink (back-end)&lt;/P&gt;
&lt;P&gt;2 - upload the file from client-side with the link passed by back-end&lt;/P&gt;
&lt;P&gt;3 - when upload is done, send to the back-end the file ID&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But I am affraid in step 3, some connections problem and not be able to pass the file ID to my back-end.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 16:24:40 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Upload-to-a-specific-file-id/m-p/748475#M32880</guid>
      <dc:creator>julio_diniz_perdigao</dc:creator>
      <dc:date>2024-02-01T16:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: Upload to a specific file id</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Upload-to-a-specific-file-id/m-p/748508#M32882</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1796744"&gt;@julio_diniz_perdigao&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;But I am affraid in step 3, some connections problem and not be able to pass the file ID to my back-end.&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/1796744"&gt;@julio_diniz_perdigao&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You don't need to pass the id in step 3. Tracing the changes in target directory would give you exact moment of file upload and its id as soon as upload finishes without additional communication between client and server side. &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;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 17:32:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Upload-to-a-specific-file-id/m-p/748508#M32882</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2024-02-01T17:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Upload to a specific file id</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Upload-to-a-specific-file-id/m-p/748527#M32883</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/422790"&gt;@Здравко&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;yes, but this will take time if target directory has many files. Anyway, a discovered that is possible to get file metada passing the full path instead of the file ID.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 16:22:51 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Upload-to-a-specific-file-id/m-p/748527#M32883</guid>
      <dc:creator>julio_diniz_perdigao</dc:creator>
      <dc:date>2024-02-02T16:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Upload to a specific file id</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Upload-to-a-specific-file-id/m-p/748545#M32886</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1796744"&gt;@julio_diniz_perdigao&lt;/a&gt; As Здравко suggested, you don't necessarily need the file ID and can instead monitor for changes. Check out the &lt;A href="https://developers.dropbox.com/detecting-changes-guide" target="_blank"&gt;Detecting Changes Guide&lt;/A&gt; for information on how to do so.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that isn't sufficient for your use case though, you could first upload a placeholder (e.g., a zero byte file, or something else of your choosing) from the back-end to get the file ID for that, and then configure the temporary upload link to overwrite that placeholder file.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 18:34:18 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Upload-to-a-specific-file-id/m-p/748545#M32886</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-02-01T18:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Upload to a specific file id</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Upload-to-a-specific-file-id/m-p/748758#M32891</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt; !&lt;/P&gt;&lt;P&gt;Good tip! Do you know which process is more faster? I mean, get file metada from a file ID or file path? My guess is the file ID, when have a lot of files.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 16:21:58 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Upload-to-a-specific-file-id/m-p/748758#M32891</guid>
      <dc:creator>julio_diniz_perdigao</dc:creator>
      <dc:date>2024-02-02T16:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Upload to a specific file id</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Upload-to-a-specific-file-id/m-p/748800#M32893</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1796744"&gt;@julio_diniz_perdigao&lt;/a&gt; There's no particular guarantee on whether using a file ID or a file path to retrieve a file's metadata would be faster. (There may also be other variables that would affect that anyway.)&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 18:10:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Upload-to-a-specific-file-id/m-p/748800#M32893</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-02-02T18:10:48Z</dc:date>
    </item>
  </channel>
</rss>

