1 2 3 4 5 6 7 8 9
#!/bin/sh uname="" psswd="" rdir="${1:-/}" fn="${2:-$PWD}" echo $rdir/$fn curl -F "$rdir/$2=@$2" "https://$uname:$psswd@neocities.org/api/upload"