#!/bin/bash # MUST BE EDITED before it will work # this file is used as part of fastback-check # it is used to fetch the file from the remote server # typically the ftp server is set up to disallow fetching by # normal users, so you have to have some special privilages # # scp root@example.com:/var/ftp/incoming/$1 . # # The following line is used to test that check that # fastback-unload-reciept's error checking is working # after downloading the file, we mangle it so that # fastback-unload-reciept will see a mangled file # # echo "this is junk" >$1