Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Informatica P.
10 years agoNew member | Level 1
Is posible upload file whit PHP and get public share link to file?
Hello,
I want upload a file whit API PHP. But i want get the public link share to my users download the file from their home.
Is posible?
Steve M.
Dropbox Staff
10 years agoYour URL is wrong... it should be https://content.dropboxapi.com/2/files/upload.
There may be other ways, but one way to post the content of a local file would be to read it into memory first. E.g., this worked for me:
curl_setopt($ch, CURLOPT_POSTFIELDS, fread($f, filesize("test.txt")));About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!