IF you need to encode parts of a POST url:
SUM=$(md5sum $APPNAME.tar.gz.gpg 1> /dev/null)
SUMENC=$(echo $SUM’ /*$$[]’ | perl -MURI::Escape -lne ‘print uri_escape($_)’)