A simple, temporary file transfer service for sharing files between machines.
pip install simple-file-transferpip install simple-file-transfer
sft serve --port 12345sft upload ./my-file.tgz 1hOutput:
Uploaded my-file.tgz 5GB sha256:...
The file will be deleted in 1h (2025-01-01 00:01:00)
To download your file, enter: sft download 763298
sft download 763298Output:
File downloaded my-file.tgz 5GB sha256:...
The file will be deleted in 55min (2025-01-01 00:01:00)
By default, SFT connects to sft.pzjj.org:12345. To use a different server, set the SFT_SERVICE environment variable:
export SFT_SERVICE=your-server.com:12345Or use the --service flag:
sft upload --service your-server.com:12345 ./file.txt 1hSupported time formats for expiry:
1h- 1 hour30m- 30 minutes2d- 2 days1w- 1 week
docker build -t sft-server .
docker run -p 12345:12345 -v /data/sft:/data sft-server- Simple CLI interface
- Automatic file expiry
- SHA256 checksums for integrity
- Minimal dependencies
- Easy deployment For detailed deployment instructions, see DEPLOYMENT.md.