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

Forum Discussion

kevvywevvywoo's avatar
kevvywevvywoo
Explorer | Level 3
2 years ago

Upload pdf's from a JSON-formatted text file containing the file location URLS

Hello, fist of all, very much a novice here.

 

I have some pdf documents which were uploaded to cloud storage some time ago.

Each pdf has its own https link, and all the links are contained in a JSON-formatted text file.

 

My question is, can I easily do a batch upload of the pdfs listed in the JSON file to Dropbox?

I could open the JSON in notepad and then click each URL in turn, downloading them one by one to my pc, but I think I'd be very old by the time I'd done them all.

Thanks!

  • Hi kevvywevvywoo,

    I'm not aware Dropbox UI provide such a feature. If you have some coding experience (even limited), you  can use Dropbox API to do that. You can do that using different coding methods (including shell scripts). Read the URLs out from your JSON, in a loop, and pass them to entry point /2/files/save_url (or equivalent method of some SDK - whatever is more convenient for you). 😉 That's it.

    If you don't understand meaning of the previous, forget it - there is no such feature.

    Hope this gives direction.

  • Hi kevvywevvywoo,

    I'm not aware Dropbox UI provide such a feature. If you have some coding experience (even limited), you  can use Dropbox API to do that. You can do that using different coding methods (including shell scripts). Read the URLs out from your JSON, in a loop, and pass them to entry point /2/files/save_url (or equivalent method of some SDK - whatever is more convenient for you). 😉 That's it.

    If you don't understand meaning of the previous, forget it - there is no such feature.

    Hope this gives direction.

About Create, upload, and share

Find help to solve issues with creating, uploading, and sharing files and folders in Dropbox. Get support and advice from the Dropbox Community.

Need more support

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!