上传 #
上传文件 #
上传指定的文件和目录到 保存的消息
:
tdl up -p /path/to/file -p /path/to/dir
自定义目标 #
上传到自定义聊天。
CHAT 示例
@iyear
iyear
123456789
(ID)https://t.me/iyear
+1 123456789
(电话号码)
tdl up -p /path/to/file -c CHAT
自定义参数 #
使用每个任务8个线程、512KiB(最大)分块大小、4个并发任务上传:
tdl up -p /path/to/file -t 8 -s 524288 -l 4
过滤器 #
上传除指定扩展名之外的文件:
tdl up -p /path/to/file -p /path/to/dir -e .so -e .tmp
自动删除 #
删除已上传成功的文件:
tdl up -p /path/to/file --rm
照片 #
将图像作为照片而不是文件上传:
tdl up -p /path/to/file --photo