NonProjects / tgbox

Encrypted cloud storage Protocol based on Telegram
https://tgbox.readthedocs.io/
GNU Lesser General Public License v2.1
34 stars 4 forks source link

LimitInvalidError on big Filedata #3

Closed NotStatilko closed 2 years ago

NotStatilko commented 2 years ago

The Telethon library throws LimitInvalidError when we try to download a RemoteBoxFile with big filedata (e.g where folder len equals to FOLDERNAME_MAX) https://github.com/NonProjects/tgbox/blob/17025f3b0bf879e1d2cce5675414827563a555e6/api.py#L929-L931 This error already was reported to Telethon devs. https://github.com/LonamiWebs/Telethon/issues/3199#issue-1040421293

Anyway, we should investigate this.