cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

Getting error while uploading larger files using php dropbox api

New member | Level 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
Highlighted

Re: Getting error while uploading larger files using php dropbox api

Dropboxer
Dropboxer

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...

Highlighted

Re: Getting error while uploading larger files using php dropbox api

New member | Level 1
New member | Level 1

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

Highlighted

Re: Getting error while uploading larger files using php dropbox api

Dropboxer
Dropboxer

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.

Highlighted

Re: Getting error while uploading larger files using php dropbox api

New member | Level 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

Highlighted

Re: Getting error while uploading larger files using php dropbox api

Dropboxer
Dropboxer

It's for v1 of the API.

Highlighted

Re: Getting error while uploading larger files using php dropbox api

New member | Level 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

Highlighted

Re: Getting error while uploading larger files using php dropbox api

Dropboxer
Dropboxer

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.

Highlighted

Re: Getting error while uploading larger files using php dropbox api

New member | Level 1
New member | Level 1

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

Highlighted

Re: Getting error while uploading larger files using php dropbox api

New member | Level 1
New member | Level 1

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

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?