如果更改名称,如何知道保管箱文件夹的分片链接 [英] How to know the dropbox folder's shard link if the name is changed

查看:126
本文介绍了如果更改名称,如何知道保管箱文件夹的分片链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Dropbox Core API,并且遇到了一个与文件夹下载有关的问题. 例如,我只是调用要下载的文件夹共享链接-"https://www.dropbox.com/sh/sssadadsd/afgasga?dl=1"
,它会自动 将其压缩到.zip存档中并将其下载到我的PC中.

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.

问题:
如果用户重命名该文件夹怎么办, 我如何不手动进入Dropbox并复制共享链接就能知道共享链接?那有可能吗?
也许可以使用access_tokenfolder name进行某种方式的加密?不知道,只是猜测.

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.

推荐答案

Dropbox共享链接当前在文件/文件夹移动/重命名中不持久.因此,如果文件或文件夹被移动或重命名,则需要调用/shares 再次获得新的共享链接.

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.

您可能要使用/delta 来监视可能发生的更改将指示移动/重命名.

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

这篇关于如果更改名称,如何知道保管箱文件夹的分片链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆