Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Srinivas R.1
11 years agoNew member | Level 1
Getting error while uploading larger files using php dropbox api
Hi There,
We have used PHP Dropbox API
to upload files to Dropbox account. But while uploading larger files (500MB from localhost (apache)) we are getting the following errors.
Can you please look into this and help me out on this ASAP.
Error
Fatal error: Uncaught exception 'DropboxException' with message 'cURL-Error (56): SSL read: error:00000000:lib(0):func(0):reason(0), errno 10053' in D:\wamp\www\dropbox_api\DropboxClient.php on line 534
Please help us ASAP. Thanks for your help in advance.
Thanks,
Srinivas Reddy .A
27 Replies
Replies have been turned off for this discussion
- Greg-DB11 years ago
Dropbox Community Moderator
For large files like this, you should use chunked uploading instead:
- Srinivas R.111 years agoNew member | Level 1
Thanks Gregor. Can you please provide an example for this.
- Greg-DB11 years ago
Dropbox Community Moderator
Unfortunately I don't believe we have sample code for that in particular. The documentation I linked to describes how to use it though, so give it a try and let us know if you run into any issues.
- Srinivas R.111 years agoNew member | Level 1
Hi Gregory, Thanks for your reply. I want to know that the provided above link is for what version of the API? Is it 1 or 2.
Thanks
- Steve M.11 years ago
Dropbox Staff
It's for v1 of the API.
- Srinivas R.111 years agoNew member | Level 1
Hi Steve,
Can you please provide an example as said above. I am unable to find how to call and how it work. Please help me on this. Thanks
- Steve M.11 years ago
Dropbox Staff
As Greg said, we don't have an example that uses that method, but we'll be happy to help if you run into any issues once you give it a try.
- Srinivas R.111 years agoNew member | Level 1
Thanks Steve, will try and let you know if any errors or issues will face. thanks for your help.
- Srinivas R.111 years agoNew member | Level 1
Steve, can you provide the download link for the files that are in the above link.
- Steve M.11 years ago
Dropbox Staff
I suppose you could download via https://github.com/dropbox/dropbox-sdk-php/tree/gh-pages ("Download ZIP" button) if you needed the documentation offline.
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!