summaryrefslogtreecommitdiffstats
path: root/fetch-from-remote
diff options
context:
space:
mode:
Diffstat (limited to 'fetch-from-remote')
-rwxr-xr-xfetch-from-remote22
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
+
+