diff options
author | Gavin Romig-Koch <gavin@localhost.localdomain> | 2009-08-20 12:18:33 -0400 |
---|---|---|
committer | Gavin Romig-Koch <gavin@localhost.localdomain> | 2009-08-20 12:18:33 -0400 |
commit | 71842a8b96792ee7478b817927e6b1b1ee3e223c (patch) | |
tree | 60fd149614522a79f8efbc817a0763f0cc7e693c /fetch-from-remote | |
parent | c238b074feb5cc0fcd7bcac331036b09aa80a7a1 (diff) | |
download | fastback-71842a8b96792ee7478b817927e6b1b1ee3e223c.tar.gz fastback-71842a8b96792ee7478b817927e6b1b1ee3e223c.tar.xz fastback-71842a8b96792ee7478b817927e6b1b1ee3e223c.zip |
changes needed to push it public
Diffstat (limited to 'fetch-from-remote')
-rwxr-xr-x | fetch-from-remote | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/fetch-from-remote b/fetch-from-remote new file mode 100755 index 0000000..94ebf17 --- /dev/null +++ b/fetch-from-remote @@ -0,0 +1,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 + + |