trnsfr
Description
A simple Python script to upload files on transfer.sh servers from CLI.
Usage
$ pip install trnsfr
$ trnsfr
usage: trnsfr.py [-h] [-s SERVER] [-i] [-k MAX_DAYS] [-t MAX_DOWNLOADS] [-d] [-v | -n | -q] [-e ENCRYPT_PASSWORD]
[-m {clamav,virustotal}]
file [file ...]
version: 1.2
positional arguments:
file File(s) to upload
options:
-h, --help show this help message and exit
Connection parameters:
-s, --server SERVER Server instance URL (default: "https://transfer.adminforge.de/")
-i, --ignore-tls-errors
Ignore TLS validation errors (default: False)
Upload parameters:
-k, --max-days MAX_DAYS
Maximum number of days to keep file on the server
-t, --max-downloads MAX_DOWNLOADS
Maximum number of times that file can be downloaded
Output parameters:
-d, --show-delete-url
Show URL to delete (default: False)
Display parameters:
-v, --verbose Verbose output (default: False)
-n, --no-progress-bar
Do not display the progress bar (default: False)
-q, --quiet Display only the download link without progress bar (default: False)
Confidentiality parameters:
-e, --encrypt-password ENCRYPT_PASSWORD
Encrypt file with that password on the server-side (default: None)
Malware scan parameters:
-m, --scan-malware {clamav,virustotal}
Scan for malware with ClamAV or Virustotal (default: None): /!\ this feature can be
unavailable on the server and hence failing the whole upload !
Credits
Copyright and license
trnsfr is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
trnsfr is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU General Public License along with trnsfr. If not, see http://www.gnu.org/licenses/.
Contact
- Thomas Debize < tdebize at mail d0t com >
Metadata
Release files for trnsfr 1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| trnsfr-1.2.tar.gz | 4.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| trnsfr-1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.2 kB
Release files / trnsfr-1.2.tar.gz
| Download URL | trnsfr-1.2.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
deaa1f117c2ca0e98e4464fe4ec4de4433ce0caaf1e48cc8116e04d8c9d03d89
|
|
BLAKE2b-256 checksum How to use checksums |
a9ccf4e0fdb6f8d304cf3f19e2c5dc86b0149df68f25afd9f7c4b29afbeabfd5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / trnsfr-1.2-py3-none-any.whl
| Download URL | trnsfr-1.2-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
56c9f5f47391833d7246e3ae8e2d039018286e9806cc141b40ac5b5140204e5f
|
|
BLAKE2b-256 checksum How to use checksums |
b323f43a01ae49f10b93d2107b8ac7bfaee4343497f46f9065f9f4c38a814e46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|