summaryrefslogtreecommitdiff
path: root/cleopatre/userfs/image/scripts/download
blob: e82d4594bc35f46580902d0f53cb7b21babfff6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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