telegram-upload
telegram-upload copied to clipboard
[Query] Can we Upload Multiple Files at the same time
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
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.
I see Thank you for the reply Telegram Upload speeds are very slow - Maximum of 3 to 4 MBps thats why
@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!)
@Nekmo will this be implemented? Took me around 7m49.506s to upload a 313M size file.
Telegram-upload v0.7.0 will upload each file part in parallel. See the issue #140 . Thanks.