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

Can't upload big file #20

Open
UnWaDo opened this issue May 10, 2024 · 1 comment
Open

Can't upload big file #20

UnWaDo opened this issue May 10, 2024 · 1 comment

Comments

@UnWaDo
Copy link

UnWaDo commented May 10, 2024

When I'm trying to upload file greater than 20 KB to Nextcloud storage, it is uploaded as an empty file

Previously I used webdavclient3 and it worked fine. The problem persist on Windows and Cent OS machines

@UnWaDo
Copy link
Author

UnWaDo commented May 10, 2024

Seems to be a problem with aiofiles: when I change async with aiofiles.open(local_path, "rb") as local_file: to synchronized version with usual open, it loads file just fine

As I'm not very good neither at aiohttp nor aiofiles, I would be grateful for support in what can be wrong, maybe I would be able to fix problem myself with a bit of advice

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

1 participant