A simple file transfer service for temporary file sharing
Project description
Simple File Transfer (SFT)
A simple, temporary file transfer service for sharing files between machines.
Installation
pip install simple-file-transfer
Quick Start
Server Setup
pip install simple-file-transfer
sft serve --port 12345
Upload a File (Machine A)
sft upload ./my-file.tgz 1h
Output:
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
Download a File (Machine B)
sft download 763298
Output:
File downloaded my-file.tgz 5GB sha256:...
The file will be deleted in 55min (2025-01-01 00:01:00)
Configuration
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:12345
Or use the --service flag:
sft upload --service your-server.com:12345 ./file.txt 1h
Time Formats
Supported time formats for expiry:
1h- 1 hour30m- 30 minutes2d- 2 days1w- 1 week
Docker Deployment
docker build -t sft-server .
docker run -p 12345:12345 -v /data/sft:/data sft-server
Features
- Simple CLI interface
- Automatic file expiry
- SHA256 checksums for integrity
- Minimal dependencies
- Easy deployment For detailed deployment instructions, see DEPLOYMENT.md.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file simple_file_transfer-0.2.2.tar.gz.
File metadata
- Download URL: simple_file_transfer-0.2.2.tar.gz
- Upload date:
- Size: 20.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e69cd76981aa8679e33e3041011d0fc696187a7b2e81153379e2ba8e8d76c366
|
|
| MD5 |
2c2f6ffd2229d1a2ad26b08d45906911
|
|
| BLAKE2b-256 |
0296490b04c9ec60c9254d50a2d46670ef02d36b287a97e1637d1b666b85e9f1
|
File details
Details for the file simple_file_transfer-0.2.2-py3-none-any.whl.
File metadata
- Download URL: simple_file_transfer-0.2.2-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c8fdf182ba24f0709d6255c060164f300a01d8be38b58520acd19eef710df2d
|
|
| MD5 |
ba66d45c28408ae8a8153b03a932a310
|
|
| BLAKE2b-256 |
03e1ac9cc67b71c308ef5f66f502dfd3b6626bda80024b7a979a649fb8063d96
|