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