How to know the dropbox folder's shard link if the name is changed

╄→гoц情女王★ 提交于 2019-12-11 10:33:46

问题


I'm using dropbox Core API and faced one issue related to folder downloading. For example I'm just calling folders shared link that I want to download- "https://www.dropbox.com/sh/sssadadsd/afgasga?dl=1"
and it's automatically compresses it into .zip archive and downloads it to my pc.

The question:
What if the user renames the folder, how can I know the shared link without going manually to the Dropbox and copying the shared link? Is that even possible?
Maybe can encrypt somehow using the access_token and folder name? Have no idea, just guessing.


回答1:


Dropbox shared links don't currently persist across file/folder moves/renames. So, if file or folder is moved or renamed, you'll need to call /shares again to get a new shared link.

You may want to use /delta to watch for changes that would indicate moves/renames.



来源:https://stackoverflow.com/questions/33332241/how-to-know-the-dropbox-folders-shard-link-if-the-name-is-changed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!