Can't upload big file
Opened this issue · 1 comments
UnWaDo commented
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 commented
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