higher ftp timeout

This commit is contained in:
rootzoll 2018-08-20 21:12:04 +02:00
parent d358a7bbab
commit be05870b9b

View file

@ -28,7 +28,7 @@ fi
name="Download"
targetDir="/mnt/hdd/download/"
targetSize=$size
maxTimeoutLoops=10000
maxTimeoutLoops=100000
command="sudo wget -c -r -P ${targetDir} -q --show-progress ${url}"
# starting session if needed
@ -97,7 +97,7 @@ while :
echo "Its OK to close terminal now and SSH back in later."
echo "****************************************************"
screen -S ${name} -X hardcopy .${name}.out
newScreenDump=$(cat .Download.out | grep . | tail -10)
newScreenDump=$(cat .Download.out | grep . | tail -8)
if [ ${#newScreenDump} -gt 0 ]; then
screenDump=$newScreenDump
fi