ctrans
📦 下载
服务器端
- Linux x86-64: ctrans-server-linux-amd64
- Linux ARM64: ctrans-server-linux-arm64
- macOS x86-64: ctrans-server-macos-amd64
- macOS ARM64: ctrans-server-macos-arm64
- Windows x86-64: ctrans-server-windows-amd64.exe
客户端
- Linux x86-64: ctrans-linux-amd64
- Linux ARM64: ctrans-linux-arm64
- macOS x86-64: ctrans-macos-amd64
- macOS ARM64: ctrans-macos-arm64
- Windows x86-64: ctrans-windows-amd64.exe
🚀 使用方法
启动服务器
# Linux/macOS
./ctrans-server-linux-amd64 -port 9000 -key "your-secret-key"
# Windows
ctrans-server-windows-amd64.exe -port 9000 -key "your-secret-key"使用客户端
# 上传文件
./ctrans-linux-amd64 myfile.txt server:9000
# 下载文件
./ctrans-linux-amd64 server:9000/myfile.txt
# 列出文件
./ctrans-linux-amd64 server:9000网页界面
访问 http://server:9000 使用网页上传界面,支持:
- 🔐 密钥认证
- 📁 目录上传
- 🎯 拖拽上传
- 📊 实时进度
- 📋 文件列表
🔐 安全验证
可以通过 checksums.txt 验证文件完整性:
sha256sum -c checksums.txt详细使用说明请参考 README.md