Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any upload limit? #25

Closed
ashish453 opened this issue May 3, 2020 · 2 comments
Closed

Is there any upload limit? #25

ashish453 opened this issue May 3, 2020 · 2 comments

Comments

@ashish453
Copy link

ashish453 commented May 3, 2020

while uploading a file of size 2.65 GB using python I get this error

/usr/lib/python3.6/ssl.py in write(self, data)
    640         The 'data' argument must support the buffer interface.
    641         """
--> 642         return self._sslobj.write(data)
    643 
    644     def getpeercert(self, binary_form=False):

OverflowError: string longer than 2147483647 bytes

How can i solve this problem? please help...

@tomgross
Copy link
Owner

tomgross commented May 6, 2020

Hi @ashish453 good catch! Obviously there is a limit with the underlying SSL library (see psf/requests#2717).

We have to investigate, how sending the file handler instead of the file goes together with the pCloud API.

@tomgross
Copy link
Owner

Upload limit has been fixed with 1.0b1: https://pypi.org/project/pcloud/1.0b1/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants