alfem/telegram-download-daemon

Error occurs when downloading files with same filename at first time

Closed this issue · 2 comments

I searched github and found #55 . But this problem seems not to be fixed.

  1. Transfer a message with several files whose filenames are same. Only the first one will be saved.
    image
    image
    image
  2. Repeat step1. No error. All filenames contain a random str.
  3. rm all files. Repeat step1. Error occurs again.

It seems that if a filename already exists, the bot works well. Otherwise the problem occurs.

I like your bot very much.
It logs every message, which is quite important for me. Some files are zip type. And the password is included in the message.
This problem of same filenames is innocuous because I merely need to forward the message again.

alfem commented

I will check that behaviour with multiiple files (an infrequent case in my opinion).

Thanks for your cumpliments.