cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Getting error while uploading larger files using php dropbox api

Getting error while uploading larger files using php dropbox api

Srinivas R.1
New member | Level 1

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 27

Greg-DB
Dropbox Staff

For large files like this, you should use chunked uploading instead:

https://dropbox.github.io/dropbox-sdk-php/api-docs/v1.1.x/class-Dropbox.Client.html#_chunkedUploadSt...

Srinivas R.1
New member | Level 1

Thanks Gregor.  Can you please provide an example for this. 

Greg-DB
Dropbox Staff

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.1
New 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.
Dropbox Staff

It's for v1 of the API.

Srinivas R.1
New 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.
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.1
New member | Level 1

Thanks Steve, will try and let you know if any errors or issues will face. thanks for your help.

Srinivas R.1
New member | Level 1

Steve, can you provide the download link for the files that are in the above link.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Srinivas R.1 New member | Level 1
  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    Steve M. Dropbox Staff
What do Dropbox user levels mean?