Dropbox Sharing file URL

后端 未结 3 1602
余生分开走
余生分开走 2020-12-09 12:19

I am developing an application for Android and which uses Dropbox for organizing the files. I am exploring the Dropbox API but its description and help is limited, as there

3条回答
  •  醉梦人生
    2020-12-09 12:53

    A useful thread in the Dropbox forums:

    http://forums.dropbox.com/topic.php?id=37700&replies=7#post-326432

    IF The public link for a file is always

    dl.dropbox.com/u///filename
    

    then we can just use the API to get and build the public URL in the code.

    Perhaps this may also help: Upload a file to Dropbox and copy public address. This script upload a file to your /Public directory and use your accound UID to build it's public URL. Then, it echoes the URL to the console.

    https://github.com/sylvainfilteau/dropbox-api-command/commit/6aa817c79220c5de4ff5339cd01ea8b528bcac36

    I am not there yet in my Dropbox interface implementation, but this is one of the functions I need to develop. More in one or two days I hope.

提交回复
热议问题