if [ $skipupload != yes ]; then
destdir=$UPLOAD_PREVIEW_ROOT/$DAILY
echo "Copying to $UPLOAD_HOST at $destdir..."
if [ $UPLOAD_METHOD = ssh ]; then
ssh $UPLOAD_HOST "mkdir -p $destdir"
if [ $skipupload != yes ]; then
destdir=$UPLOAD_PREVIEW_ROOT/$DAILY
echo "Copying to $UPLOAD_HOST at $destdir..."
if [ $UPLOAD_METHOD = ssh ]; then
ssh $UPLOAD_HOST "mkdir -p $destdir"