telegram-upload icon indicating copy to clipboard operation
telegram-upload copied to clipboard

[Query] Can we Upload Multiple Files at the same time

Open roshanconnor123 opened this issue 4 years ago • 4 comments

Description

Hi I have around 1000 Files in my local disk Is it possible to upload lets say 10 files at a time? Thank you

roshanconnor123 avatar Oct 18 '20 18:10 roshanconnor123

If you want to upload 10 files in parallel, I don't think it's a good idea. The official client does not allow it, so it is possible that your account could be banned.

Nekmo avatar Oct 19 '20 22:10 Nekmo

I see Thank you for the reply Telegram Upload speeds are very slow - Maximum of 3 to 4 MBps thats why

roshanconnor123 avatar Oct 20 '20 04:10 roshanconnor123

@roshanconnor123 If you don't care about the order in which they are uploaded, you could try uploading the files from multiple instances of telegram-upload.

I've done this before, and it kind of works. One perk is that you might need to copy your telegram-upload.session file into another directory, and run the command from that directory, or else Telethon will report that the database file is locked (sqlite3.OperationalError: database is locked). So, if you want to be able to upload 10 files at a time, 10 copies of the database are needed. Not sure if you'll get a bandwidth of 10 x 4 MiB/s, though.

@Nekmo I would be surprised if Telegram would ban a user account out of this. I would have thought that, if they didn't want users to upload multiple files concurrently, they'd simply forbid it at server side.

(Of course, do this at your own risk!)

cristian64 avatar Oct 30 '20 22:10 cristian64

@Nekmo will this be implemented? Took me around 7m49.506s to upload a 313M size file.

Anon-Exploiter avatar May 06 '21 15:05 Anon-Exploiter

Telegram-upload v0.7.0 will upload each file part in parallel. See the issue #140 . Thanks.

Nekmo avatar Jun 29 '23 15:06 Nekmo