[!IMPORTANT]
The upload functionnality is not working anymore as Infomaniak removed their reCAPTCHA bypass :(Download feature is still working tho
Swish :rocket:
A Command Line Tool for Infomaniak's SwissTransfer Service. :cloud:
This project is not affiliated with Infomaniak and is not an official tool. :warning:
Installation
All the binaries are available in the releases section. :inbox_tray:
Download the binary for your platform and add it to your PATH. :arrow_down:
Usage
Usage: swish [OPTIONS] <FILE>
Arguments:
<FILE> could be a file or a folder or a link
Options:
-p, --password <password> Sets the password for the file(s) downloaded / uploaded
-m, --message <Hello World> Define the message for the file(s) uploaded
-n, --number-download <250> Define the max number of downloads for the file(s) uploaded
-d, --duration <30> Define the number of days the file(s) will be available for download
-o, --output <output> Define an output directory for the downloaded files
-v, --verbose Enable verbose mode
-h, --help Print help
-V, --version Print version
Examples
Upload a file :rocket::
swish /tmo/super-file.pdf
Upload a file with a password :closed_lock_with_key:
swish -p mypassword /tmo/super-file.pdf
Download a file :arrow_down::
swish https://www.swisstransfer.com/d/188be047-5b8c-48bf-9c4a-e70076c0e53c
Download a file with a password :closed_lock_with_key::
swish -p mypassword https://www.swisstransfer.com/d/188be047-5b8c-48bf-9c4a-e70076c0e53c
This tool does not provide any encryption feature. :warning:
I strongly recommend you to encrypt your file before uploading it to any cloud service :lock:
Known Issues
File Upload Limit
When uploading many times the same file, it seems that infomaniaks servers flags you as suspicous traffic and you won't be able to upload for a while. It seems to be linked to your IP address, no extensive testing has been done. Use the debug mode to see the error message. :warning:
Contributing
If a developer who truly has the skills and doesn't face the same skill issues as me wants to contribute to this project, feel free to do so. PRs and stuff. :handshake:
License
This project is licensed under the GPL-3.0 License - see the LICENSE file for details. :page_facing_up:
Contact
You can contact me at [email protected] :email:
Donate
I drank some during the project, it would be nice if you could ![]()