Nekmo / telegram-upload

Upload and download files from Telegram up to 4 GiB using your account
MIT License
1.05k stars 226 forks source link

Can I open more than one telegram-upload to upload, using two different api's(user)? #239

Open myh66 opened 9 months ago

myh66 commented 9 months ago

Description

Can I open more than one telegram-upload to upload, using two different api's(user)?

Describe what you were trying to get done. Tell us what happened, what went wrong, and what you expected to happen.

What I Did

Read the manual

Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.
myh66 commented 9 months ago

The same account fails in the process of uploading to two different channels, one of which will fail Also, is there a value returned after a successful upload that I can add to my script so I know if the upload was successful?

My Scripts:https://github.com/myh66/UP-TG

Deshdeepak1 commented 7 months ago

this is not resticted by telegram-upload by telegram itself. Even in official client, you can't upload/download two files simultaneously from same user.

Asahi21 commented 3 months ago

A bit late but, you can use the same api and upload at the same time if you use multiple linux users, I've been doing it for months without any issue.

Antroxin commented 2 months ago

If you copy and edit any instance of the config files, telegram-upload.json, telegram-upload.json.session and telegram-upload.session and you use this files in your call to telegram-upload, then you can have several uploads in parallel. Actually, I usually have 3 in parallel.