blob: 94ebf173d9c54f980461278f6c8e3c2919eebd57 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/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
|