For uploading files with long names, telegram-upload has several issues. For instance, when attempting to upload files larger than 5GB that require splitting, the original file names are transformed as follows:
Original File Names:
Persinal.Videos.File.Footage.22.17.25545.99.47.SaveIn.Compress.Long.Shot.Lens.part1.rar
Persinal.Videos.File.Footage.22.17.25545.99.47.SaveIn.Compress.Long.Shot.Lens.part2.rar
But file names uploaded to Telegram (in saved messages) is:
Persinal_Videos_File_Footage_22_17_25545_99_47_SaveIn_Compress_Long_Shot_Lens.00
Persinal_Videos_File_Footage_22_17_25545_99_47_SaveIn_Compress_Long_Shot_Lens.01
Persinal_Videos_File_Footage_22_17_25545_99_47_SaveIn_Compress_Long_Shot_Lens.02
Persinal_Videos_File_Footage_22_17_25545_99_47_SaveIn_Compress_Long_Shot_Lens.00
Persinal_Videos_File_Footage_22_17_25545_99_47_SaveIn_Compress_Long_Shot_Lens.01
Persinal_Videos_File_Footage_22_17_25545_99_47_SaveIn_Compress_Long_Shot_Lens.02
Issues
All dots (".") are replaced with underscores ("_"), which is undesirable.
After upload, the "part1" or "part2" indicators are missing from the file names, making it difficult to distinguish between them.
The ".rar" format is gone and preventing files from being opened with WinRAR.
The altered file names prevent telegram-download from properly rejoining the files with proper command. For example after telegram-download downloading files the name in my disk is:
Persinal_Videos_File_Footage_22_17_25545_99_47_SaveIn_Compress_Long_Shot_Lens.00
Persinal_Videos_File_Footage_22_17_25545_99_47_SaveIn_Compress_Long_Shot_Lens.01
Persinal_Videos_File_Footage_22_17_25545_99_47_SaveIn_Compress_Long_Shot_Lens.02
Persinal_Videos_File_Footage_22_17_25545_99_47_SaveIn_Compress_Long_Shot_Lens (1).00
Persinal_Videos_File_Footage_22_17_25545_99_47_SaveIn_Compress_Long_Shot_Lens (1).01
Persinal_Videos_File_Footage_22_17_25545_99_47_SaveIn_Compress_Long_Shot_Lens (1).02
And when the program want rejoining. couldn't because file names
Even for smaller files (e.g., 100MB) that do not require splitting, the issue persists:
Original File Name (100MB Size):
Persinal.Videos.File.Footage.22.17.25545.99.47.SaveIn.Compress.Long.Shot.Lens.rar
But file name uploaded to Telegram (in saved messages) is:
Persinal_Videos_File_Footage_22_17_25545_99_47_SaveIn_Compress_Long_Shot_Lens
This inconsistency in file naming and format is causing significant inconvenience and usability problems.
==============================
Small file names doesn't any problem like this:
Original File Name:
Persinal.Videos.File.Footage.rar
file name uploaded to Telegram (in saved messages) is the same:
Persinal.Videos.File.Footage.rar
==============================
For a little hint Telegram has not any problem with long file name. I can upload this files easily with telegram desktop app without any file name issue.
pip freeze
):Description
For uploading files with long names, telegram-upload has several issues. For instance, when attempting to upload files larger than 5GB that require splitting, the original file names are transformed as follows:
Original File Names: Persinal.Videos.File.Footage.22.17.25545.99.47.SaveIn.Compress.Long.Shot.Lens.part1.rar Persinal.Videos.File.Footage.22.17.25545.99.47.SaveIn.Compress.Long.Shot.Lens.part2.rar
But file names uploaded to Telegram (in saved messages) is: Persinal_Videos_File_Footage_22_17_25545_99_47_SaveIn_Compress_Long_Shot_Lens.00 Persinal_Videos_File_Footage_22_17_25545_99_47_SaveIn_Compress_Long_Shot_Lens.01 Persinal_Videos_File_Footage_22_17_25545_99_47_SaveIn_Compress_Long_Shot_Lens.02 Persinal_Videos_File_Footage_22_17_25545_99_47_SaveIn_Compress_Long_Shot_Lens.00 Persinal_Videos_File_Footage_22_17_25545_99_47_SaveIn_Compress_Long_Shot_Lens.01 Persinal_Videos_File_Footage_22_17_25545_99_47_SaveIn_Compress_Long_Shot_Lens.02
Issues
And when the program want rejoining. couldn't because file names
Even for smaller files (e.g., 100MB) that do not require splitting, the issue persists:
Original File Name (100MB Size): Persinal.Videos.File.Footage.22.17.25545.99.47.SaveIn.Compress.Long.Shot.Lens.rar
But file name uploaded to Telegram (in saved messages) is: Persinal_Videos_File_Footage_22_17_25545_99_47_SaveIn_Compress_Long_Shot_Lens
This inconsistency in file naming and format is causing significant inconvenience and usability problems.
============================== Small file names doesn't any problem like this: Original File Name: Persinal.Videos.File.Footage.rar
file name uploaded to Telegram (in saved messages) is the same: Persinal.Videos.File.Footage.rar
==============================
For a little hint Telegram has not any problem with long file name. I can upload this files easily with telegram desktop app without any file name issue.
I hope you will fix this. Thanks.