File Chunking
How large files are split into chunks for upload and reassembled for download.
Why Chunking?
Telegram's Bot API has a file size limit per upload (around 2GB for bots). Additionally, splitting files into smaller chunks improves upload reliability -- if one chunk fails, only that chunk needs to be retried, not the entire file.
How it Works
- When you upload a file, TFilely splits it into chunks of a configurable size (default: 500MB).
- Each chunk is uploaded as a separate message to your storage channel through the active bot.
- TFilely tracks which chunks belong to which file in its database.
- When you download a file, TFilely fetches all chunks and reassembles them into the original file in your browser.
Split File Size
You can configure the chunk size in Settings > General > Split File Size. Available options:
- 100MB -- smaller chunks, more reliable on slow connections
- 500MB -- default, good balance of performance and reliability
- 1GB -- larger chunks, fewer API calls for big files
- 2GB -- maximum Telegram allows, fewest chunks per file
Random Name
When Random Name is enabled (default), chunk file names are randomized before upload. This means the individual chunks stored on Telegram have no recognizable file name -- providing privacy for the file names in your storage channels.
The original file names are stored only in TFilely's database, not on Telegram. When you download, TFilely restores the original name.