We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

johnvu93's avatar
johnvu93
Explorer | Level 4
2 years ago

Adding files from a Dropbox link to my account.

This is a feature of Dropbox called "Copy to Dropbox". Please see this image 

I am wondering if there is any API that allows me to do this?

 

Once the customer enters the URL link into the input, I will automatically retrieve the files through the Dropbox link.

  • johnvu93 The Dropbox API doesn't offer a way to copy a folder from a shared link into a connected Dropbox account via the API like the "Copy to Dropbox" feature of the shared link page, but I'll pass this along as a feature request. I can't promise if/when that might be implemented though. (The Dropbox API does offer /2/files/save_url which works with Dropbox shared links, but that only supports files, not folders.)

  • Здравко's avatar
    Здравко
    Legendary | Level 20

    johnvu93 wrote:

    ...

    I am wondering if there is any API that allows me to do this?

    ...


    Hm... 🤔 What do you need actually using API?

     


    johnvu93 wrote:

    ...

    Once the customer enters the URL link into the input, I will automatically retrieve the files through the Dropbox link.


    Do you have any issues download files using the link itself? 🧐 Just set "dl=1" at the link end. If you mean to list pointed folder, yes, there is such API point. 😉

    Good luck.

    • johnvu93's avatar
      johnvu93
      Explorer | Level 4

       

      Hello Здравко ,

       

      Thank you for your assistance.

       

      I am building a system that allows customers to upload images to the system via Dropbox, but I am currently having issues with the upload speed, which is very slow and causing problems. I have not been able to determine the cause or how to fix it.

       

      My current solution is to use a plugin to upload images to Dropbox in WordPress and then embed it in the system. Once the customer uploads the image to the plugin, I will take the link and copy it to the clients' folder - where I need to place the images accurately.

      • Здравко's avatar
        Здравко
        Legendary | Level 20

        Hi johnvu93,

        To be honest, I'm not sure fully understand your scenario, but as far as I can see /2/files/get_temporary_upload_link would work much better for you. In such a case you don't need to proxying upload process, but only manage it. Files themself get upload from user browser directly to Dropbox server. Once the files are there, you can easy create shared link and embed it (or to use embedder). Does it, or not? 🧐

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    johnvu93 The Dropbox API doesn't offer a way to copy a folder from a shared link into a connected Dropbox account via the API like the "Copy to Dropbox" feature of the shared link page, but I'll pass this along as a feature request. I can't promise if/when that might be implemented though. (The Dropbox API does offer /2/files/save_url which works with Dropbox shared links, but that only supports files, not folders.)

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,877 PostsLatest Activity: 12 months ago
325 Following

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!