# Upload using cURL
$ curl --upload-file ./hello.txt https://storj.deltaready.org/hello.txt
https://storj.deltaready.org/tbn7mU/hello.txt
# Using the shell function
$ transfer hello.txt
##################################################### 100.0%
https://storj.deltaready.org/akuiHN/hello.txt
This service is fully auto-mirrored for each alias domain
‹https://crash.directory/akuiHN/hello.txt›
‹https://_.cra.sh/akuiHN/hello.txt›
‹https://_.eyeson.ly/akuiHN/hello.txt›
‹https://storj.crash.su/akuiHN/hello.txt›
‹https://storj.netsukuku.org/akuiHN/hello.txt›
‹https://я.краш.мкд/akuiHN/hello.txt›
‹https://storj.spam.ps/akuiHN/hello.txt›
‹https://storj.radiocybernet.org/akuiHN/hello.txt›
‹https://storj.cr-a.sh/akuiHN/hello.txt›
‹https://storj.crash.codes/akuiHN/hello.txt›
‹https://storj.crash.contact/akuiHN/hello.txt›
‹https://д.краш.укр/akuiHN/hello.txt›
‹https://storj.c-r-a.sh/akuiHN/hello.txt›
‹https://storj.deltaready.org/akuiHN/hello.txt›
‹https://storj.zugzwang.ooo/akuiHN/hello.txt›
‹https://storj.c-ra.sh/akuiHN/hello.txt›
‹https://ж.краш.қаз/akuiHN/hello.txt›
‹https://storj.crash.tel/akuiHN/hello.txt›
‹https://storj.hinezumi.org/akuiHN/hello.txt›
‹https://ß.fingerspitzengefühl.org/helo.t›
‹https://storj.crash.observer/akuiHN/hello.txt›
‹https://storj.crash.software/akuiHN/hello.txt›
‹https://storj.crash.exchange/akuiHN/hello.txt›
‹https://storj.crash.lu/akuiHN/hello.txt›
‹https://ー.クラシュ.com/akuiHN/hello.txt›
# Uploading is easy using curl
$ curl --upload-file ./hello.txt https://storj.deltaready.org/hello.txt
https://storj.deltaready.org/tbn7mU/hello.txt
$ curl -H "Max-Downloads: 1" -H "Max-Days: 5" --upload-file ./hello.txt https://storj.deltaready.org/hello.txt
https://storj.deltaready.org/tbn7mU/hello.txt
# Download the file
$ curl https://storj.deltaready.org/tbn7mU/hello.txt -o hello.txt
# Authenticated uploads
$ curl --upload-file ./hello.txt https://user:[email protected]/hello.txt
# Add this to .bashrc or .zshrc or its equivalent
transfer(){ if [ $# -eq 0 ];then echo "No arguments specified.\nUsage:\n transfer <file|directory>\n ... | transfer <file_name>">&2;return 1;fi;if tty -s;then file="$1";file_name=$(basename "$file");if [ ! -e "$file" ];then echo "$file: No such file or directory">&2;return 1;fi;if [ -d "$file" ];then file_name="$file_name.zip" ,;(cd "$file"&&zip -r -q - .)|curl --progress-bar --upload-file "-" "https://storj.deltaready.org/$file_name"|tee /dev/null,;else cat "$file"|curl --progress-bar --upload-file "-" "https://storj.deltaready.org/$file_name"|tee /dev/null;fi;else file_name=$1;curl --progress-bar --upload-file "-" "https://storj.deltaready.org/$file_name"|tee /dev/null;fi;}
# Now you can use transfer function
$ transfer hello.txt
$ curl -i -F filedata=@/tmp/hello.txt -F filedata=@/tmp/hello2.txt https://storj.deltaready.org/
# Combining downloads as zip or tar archive
$ curl https://storj.deltaready.org/(tbn7mU/hello.txt,akuiHN/world.txt).tar.gz
$ curl https://storj.deltaready.org/(tbn7mU/hello.txt,akuiHN/world.txt).zip
# Encrypt files with password using gpg
$ cat /tmp/hello.txt|gpg -ac -o-|curl -X PUT --upload-file "-" https://storj.deltaready.org/test.txt
# Download and decrypt
$ curl https://storj.deltaready.org/tbn7mU/test.txt|gpg -o- > /tmp/hello.txt
# Scan for malware or viruses using Clamav
$ wget http://www.eicar.org/download/eicar.com
$ curl -X PUT --upload-file ./eicar.com https://storj.deltaready.org/eicar.com/scan
# Upload malware to VirusTotal, get a permalink in return
$ curl -X PUT --upload-file nhgbhhj https://storj.deltaready.org/test.txt/virustotal
# Backup, encrypt and transfer
$ mysqldump --all-databases|gzip|gpg -ac -o-|curl -X PUT --upload-file "-" https://storj.deltaready.org/test.txt
# Transfer and send email with link (uses shell function)
$ transfer /tmp/hello.txt | mail -s "Hello World" [email protected]
# Import keys from keybase
$ keybase track [them]
# Encrypt for recipient(s)
$ cat somebackupfile.tar.gz | keybase encrypt [them] | curl --upload-file '-' https://storj.deltaready.org/test.txt
# Decrypt
$ curl https://storj.deltaready.org/tbn7mU/test.md |keybase decrypt
# wget
$ wget --method PUT --body-file=/tmp/file.tar https://storj.deltaready.org/file.tar -O - -nv
# grep syslog for pound and transfer
$ cat /var/log/syslog|grep pound|curl --upload-file - https://storj.deltaready.org/pound.log
# Upload using Powershell
PS H:\> invoke-webrequest -method put -infile .\file.txt https://storj.deltaready.org/file.txt
# HTTPie
$ http https://storj.deltaready.org/ -vv < /tmp/test.log
# transfersh-cli (https://github.com/tanrax/transfersh-cli)
$ transfersh photos.zip
# Uploading file
# Download from here: https://storj.deltaready.org/tbn7mU/photos.zip
# It has also been copied to the clipboard!
# Encrypt files with password using openssl
$ cat /tmp/hello.txt|openssl aes-256-cbc -pbkdf2 -e|curl -X PUT --upload-file "-" https://storj.deltaready.org/test.txt
# Download and decrypt
$ curl https://storj.deltaready.org/tbn7mU/test.txt|openssl aes-256-cbc -pbkdf2 -d > /tmp/hello.txt
# vim ~/.config/fish/functions/transfer.fish
function transfer --description 'Upload a file to https://storj.deltaready.org/'
if [ $argv[1] ]
# write to output to tmpfile because of progress bar
set -l tmpfile ( mktemp -t transferXXXXXX )
curl --progress-bar --upload-file "$argv[1]" https://storj.deltaready.org/(basename $argv[1]) >> $tmpfile
cat $tmpfile
cat $tmpfile | pbcopy
command rm -f $tmpfile
else
echo 'usage: transfer FILE_TO_TRANSFER'
end
end
funcsave transfer
# Now you can use transfer function
$ transfer hello.txt
#Save this as transfer.cmd in Windows 10 (which has curl.exe)
@echo off
setlocal EnableDelayedExpansion EnableExtensions
goto main
:usage
echo No arguments specified. >&2
echo Usage: >&2
echo transfer ^<file^|directory^> >&2
echo ... ^| transfer ^<file_name^> >&2
exit /b 1
:main
if "%~1" == "" goto usage
timeout.exe /t 0 >nul 2>nul || goto not_tty
set "file=%~1"
for %%A in ("%file%") do set "file_name=%%~nxA"
if exist "%file_name%" goto file_exists
echo %file%: No such file or directory >&2
exit /b 1
:file_exists
if not exist "%file%\" goto not_a_directory
set "file_name=%file_name%.zip"
pushd "%file%" || exit /b 1
set "full_name=%temp%\%file_name%"
powershell.exe -Command "Get-ChildItem -Path . -Recurse | Compress-Archive -DestinationPath ""%full_name%"""
curl.exe --progress-bar --upload-file "%full_name%" "https://storj.deltaready.org/%file_name%"
popd
goto :eof
:not_a_directory
curl.exe --progress-bar --upload-file "%file%" "https://storj.deltaready.org/%file_name%"
goto :eof
:not_tty
set "file_name=%~1"
curl.exe --progress-bar --upload-file - "https://storj.deltaready.org/%file_name%"
goto :eof