Storage Transfer #
Use the /transfer command to transfer files directly between different storages without going through Telegram.
/transfer <source_storage>:/<source_path> [filter]
Parameters:
source_storage: Source storage namesource_path: Source pathfilter: Optional regex filter to transfer only matching files
Examples:
# Transfer entire directory
/transfer local1:/downloads
# Transfer files from specified path
/transfer alist1:/media/photos
# Transfer only mp4 files
/transfer webdav1:/videos ".*\.mp4$"
# Transfer image files
/transfer local1:/pictures "(?i)\.(jpg|png|gif)$"
The bot will:
- List all files in the source path
- Apply the filter (if provided)
- Display file count and total size
- Ask you to select the target storage
- Ask you to select the target directory (if configured for that storage)
- Start the transfer task
Notes:
- Source storage must support listing and reading
- Target storage must support writing
- Real-time progress is displayed during transfer
- Transfer tasks can be cancelled