install-osrf.sh: set ejabberd host correctly during registration on prod
[sitka/sitka-tools.git] / marc_export_custom / outlook-curl.sh
1 #!/bin/bash
2 # Upload a file to Auto-Graphics ShareFile system using WebDAV/curl
3 # Usage: ./outlook-curl.sh <file> <username> <password>
4 FILE=$1
5 USERNAME=$2
6 PASSWORD=$3
7 LOG="outlook-curl.log"
8 curl -k -u $USERNAME:$PASSWORD -T $FILE https://agcloud.auto-graphics.com/public.php/webdav/sitka/$FILE 2> $LOG