Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
overlookmotel
5 years agoExplorer | Level 3
API to get content hash of shared file link
Hi. Is there an API endpoint to get the content hash of a file received as a shared link? Where the shared link is to a folder, it's possible with: sharing/get_shared_link_metadata { "url...
overlookmotel
5 years agoExplorer | Level 3
Thanks Greg.
It would be very valuable to be able to retrieve this information from the API. As I mentioned, currently we have to download everything twice and hash-check the two copies against each other to ensure no corruption, which is waste of bandwidth on both sides.
Greg-DB
Dropbox Community Moderator
5 years agoThanks for following up with the additional feedback.
By the way though, since Dropbox enforces TLS (i.e., it will redirect any http:// shared link URLs to https://), I believe you can technically rely on TLS to ensure integrity of the download against any corruption in transit. The TLS specification states:
The primary goal of the TLS Protocol is to provide privacy and data integrity between two communicating applications.
The connection is reliable. Message transport includes a message integrity check using a keyed MAC.
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!