tdesktop icon indicating copy to clipboard operation
tdesktop copied to clipboard

Downloading consecutive files with the same name bug

Open Shunt22 opened this issue 2 years ago • 2 comments

Steps to reproduce

I used PC and Android Telegram Apps.

  1. On PC create txt file named 1.txt with content test. File size should be 4 bytes.
  2. Upload this file to Telegram (I've used Saved Messaged)
  3. On Android open Telegram App, find 1.txt file and press "Save to dowloads".
  4. On PC change contents of 1.txt to testtest. File size should become 8 bytes.
  5. Upload this file to Telegram.
  6. 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. saved_messages actual_files_on_android

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

Shunt22 avatar Dec 15 '23 11:12 Shunt22

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.

vinivosh avatar Jun 02 '24 16:06 vinivosh

Seems that https://github.com/telegramdesktop/tdesktop/issues/25811 is a related issue

Nashev avatar Aug 26 '24 09:08 Nashev

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!

github-actions[bot] avatar Mar 22 '25 02:03 github-actions[bot]