Sharing a file has never been easier - simply upload files to the decentralised storage-network Storj DCS and share a link to the file!
This is a dotnet-tool! So assuming you have dotnet-SDK installed simply install the quickshare-tool by opening a command prompt:
dotnet tool install -g quickshare
This will install the tool globally so you can simply call quickshare
from every location.
Before uploading your first file you have to setup the tool by providing an access grant and a bucket name from your storj account. You get 25GB of free storage on https://storj.io. Follow this guide on how to create an access grant.
Then setup quickshare like this:
quickshare config -g ACCESS_GRANT -b BUCKET_NAME
Replace ACCESS_GRANT and BUCKET_NAME with your values.
To upload and share a file simply enter the following:
quickshare -f myAwesomeFile.txt
If you want the file to only be available for a certain amount of time adjust your prompt like this:
quickshare -f myAwesomeFile.txt -d "1 week"
This will make your file available for 1 week and delete it automatically afterwards, which will also render your share-URL obsolet. You may provide different phrases like "3 days", "1 week, 2 days" etc. to the "-d"-Parameter.
You may also upload the content of a directory:
quickshare sharefolder -r "c:\myFolder" -d "2 weeks"