#!/bin/bash set -e basedir=$(dirname "$0") cd "$basedir" outfp='index.html' ./pfaltgall 'pixelfed.social.conf' "${outfp}" curl -s --ssl-reqd --ftp-pasv -T "${outfp}" -u "username:password" ftp://some_hostname/pfaltgall/ exit 0