summaryrefslogtreecommitdiff
path: root/cleopatre/userfs/image/scripts/download
diff options
context:
space:
mode:
Diffstat (limited to 'cleopatre/userfs/image/scripts/download')
-rwxr-xr-xcleopatre/userfs/image/scripts/download17
1 files changed, 17 insertions, 0 deletions
diff --git a/cleopatre/userfs/image/scripts/download b/cleopatre/userfs/image/scripts/download
new file mode 100755
index 0000000000..e82d4594bc
--- /dev/null
+++ b/cleopatre/userfs/image/scripts/download
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+hostip="192.168.2.144"
+
+#check if first arguments = -a address
+if [ "$1" = "-a" ]
+then
+ hostip="$2"
+ shift
+ shift
+fi
+
+for file in $*
+do
+ ftpget -u spidcom -p spidcom $hostip $file $file
+done
+