One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
julio_diniz_perdigao
2 years agoExplorer | Level 3
Upload to a specific file id
Hi!
Google Drive has an method that we can create the file ID first, before start upload.
Does Dropbox has somenthing similar?
My point is, to get file metadata, specially file size, af...
Greg-DB
Dropbox Staff
2 years agojulio_diniz_perdigao As Здравко suggested, you don't necessarily need the file ID and can instead monitor for changes. Check out the Detecting Changes Guide for information on how to do so.
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.
julio_diniz_perdigao
2 years agoExplorer | Level 3
Hi Greg-DB !
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.
- Greg-DB2 years ago
Dropbox Staff
julio_diniz_perdigao 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.)
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,949 PostsLatest Activity: 2 hours ago
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!