Downloading consecutive files with the same name bug
Steps to reproduce
I used PC and Android Telegram Apps.
- On PC create txt file named 1.txt with content test. File size should be 4 bytes.
- Upload this file to Telegram (I've used Saved Messaged)
- On Android open Telegram App, find 1.txt file and press "Save to dowloads".
- On PC change contents of 1.txt to testtest. File size should become 8 bytes.
- Upload this file to Telegram.
- On Android find new 1.txt file and press "Save to downloads"
Expected behaviour
Expect to see two 1.txt files. First is 4 bytes size. Seconds is 8 bytes size.
Actual behaviour
In reality I have two 1.txt files. But both of them are 4 bytes size.
This process is repeatable. I can increase file 1.txt on PC even more and try to upload it to Telegram.
But each time I try to dowload it -> I'm getting the first version of the file, 4 bytes size.
Operating system
Windows 10, Android 13
Version of Telegram Desktop
4.12.2
Installation source
Static binary from official website
Crash ID
No response
Logs
No response
Can confirm this is still happening.
Tried with some save and state files from RetroArch, and Telegram always gives me the first version I ever uploaded, never the newer ones.
The file size and name never changed between these different versions, but their content did, of course.
Seems that https://github.com/telegramdesktop/tdesktop/issues/25811 is a related issue
Hey there!
This issue was inactive for a long time and will be automatically closed in 30 days if there isn't any further activity. We therefore assume that the user has lost interest or resolved the problem on their own.
Don't worry though; if this is an error, let us know with a comment and we'll be happy to reopen the issue.
Thanks!