+ finalurl=http://fs5001d24.fileserve.com/file/huibuh/YHZw9uS5IUu9K1SELsDYaampqJcl6OLKCr8wL2jpromHG3OsuX85MiwEfXjHbRM23fAQSN-S4-x9HRZfy3epek_CJjP0hAErP7c8Ym1AhiC2BN2keRLlxQ8C6z9quupnkpca2ps9TvbhptdDME-7u1QgUUJCVyfC8IucQd5zIig./meinedatei.rar
+ [ -z http://fs5001d24.fileserve.com/file/huibuh/YHZw9uS5IUu9K1SELsDYaampqJcl6OLKCr8wL2jpromHG3OsuX85MiwEfXjHbRM23fAQSN-S4-x9HRZfy3epek_CJjP0hAErP7c8Ym1AhiC2BN2keRLlxQ8C6z9quupnkpca2ps9TvbhptdDME-7u1QgUUJCVyfC8IucQd5zIig./meinedatei.rar ]
+ curl_msg Got DL URL: http://fs5001d24.fileserve.com/file/huibuh/YHZw9uS5IUu9K1SELsDYaampqJcl6OLKCr8wL2jpromHG3OsuX85MiwEfXjHbRM23fAQSN-S4-x9HRZfy3epek_CJjP0hAErP7c8Ym1AhiC2BN2keRLlxQ8C6z9quupnkpca2ps9TvbhptdDME-7u1QgUUJCVyfC8IucQd5zIig./meinedatei.rar
+ local message=Got DL URL: http://fs5001d24.fileserve.com/file/huibuh/YHZw9uS5IUu9K1SELsDYaampqJcl6OLKCr8wL2jpromHG3OsuX85MiwEfXjHbRM23fAQSN-S4-x9HRZfy3epek_CJjP0hAErP7c8Ym1AhiC2BN2keRLlxQ8C6z9quupnkpca2ps9TvbhptdDME-7u1QgUUJCVyfC8IucQd5zIig./meinedatei.rar type=dl
+ rm -f /var/tmp/fritzload1/dl.progress.msg
+ echo -n Got DL URL: http://fs5001d24.fileserve.com/file/huibuh/YHZw9uS5IUu9K1SELsDYaampqJcl6OLKCr8wL2jpromHG3OsuX85MiwEfXjHbRM23fAQSN-S4-x9HRZfy3epek_CJjP0hAErP7c8Ym1AhiC2BN2keRLlxQ8C6z9quupnkpca2ps9TvbhptdDME-7u1QgUUJCVyfC8IucQd5zIig./meinedatei.rar
+ download http://fs5001d24.fileserve.com/file/huibuh/YHZw9uS5IUu9K1SELsDYaampqJcl6OLKCr8wL2jpromHG3OsuX85MiwEfXjHbRM23fAQSN-S4-x9HRZfy3epek_CJjP0hAErP7c8Ym1AhiC2BN2keRLlxQ8C6z9quupnkpca2ps9TvbhptdDME-7u1QgUUJCVyfC8IucQd5zIig./meinedatei.rar meinedatei.rar --data download=normal --referer http://www.fileserve.com/file/huibuh -b /var/tmp/fritzload1/dl.cookie.txt
+ /var/media/ftp/Generic-FlashDisk-01/FritzLoad/bin/../bin/busybox basename meinedatei.rar
+ local url=http://fs5001d24.fileserve.com/file/huibuh/YHZw9uS5IUu9K1SELsDYaampqJcl6OLKCr8wL2jpromHG3OsuX85MiwEfXjHbRM23fAQSN-S4-x9HRZfy3epek_CJjP0hAErP7c8Ym1AhiC2BN2keRLlxQ8C6z9quupnkpca2ps9TvbhptdDME-7u1QgUUJCVyfC8IucQd5zIig./meinedatei.rar bname=meinedatei.rar options=--data download=normal --referer http://www.fileserve.com/file/huibuh -b /var/tmp/fritzload1/dl.cookie.txt chkFileSize= forceFileName=0
+ local failedContentHeader=.*\(text\).* h_file h_file_header h_size h_type filepath logbar
+ filename meinedatei.rar
+ tr -c A-Za-z0-9_#\/\-\. _
+ echo -n meinedatei.rar
+ filename=meinedatei.rar
+ cleanup
+ local type=dl
+ [ 1 = 0 ]
+ _checkNAS
+ targetdir=/var/media/ftp/Generic-FlashDisk-01/download
+ [ ! -f /var/tmp/nasstatus.txt ]
+ [ 0 = 1 ]
+ local tempdir= storedir=
+ [ -z meinedatei.rar ]
+ tempdir=/var/media/ftp/Generic-FlashDisk-01/download/tmp
+ storedir=/var/media/ftp/Generic-FlashDisk-01/download
+ mkdir -pm 0777 /var/media/ftp/Generic-FlashDisk-01/download/tmp
+ alreadyLoaded /var/media/ftp/Generic-FlashDisk-01/download/meinedatei.rar
+ [ 0 = 1 ]
+ local filename=/var/media/ftp/Generic-FlashDisk-01/download/meinedatei.rar storedir
+ [ -z ]
+ storedir=/var/media/ftp/Generic-FlashDisk-01/download
+ filename=meinedatei.rar
+ echo File: /var/media/ftp/Generic-FlashDisk-01/download/meinedatei.rar
File: /var/media/ftp/Generic-FlashDisk-01/download/meinedatei.rar
+ [ -f /var/media/ftp/Generic-FlashDisk-01/download/meinedatei.rar ]
+ return 1
+ [ --data download=normal --referer http://www.fileserve.com/file/huibuh -b /var/tmp/fritzload1/dl.cookie.txt = - ]
+ [ = - ]
+ [ .*\(text\).* = - ]
+ download_limit
+ check_free_diskspace /var/media/ftp/Generic-FlashDisk-01/download 200
+ local dir=/var/media/ftp/Generic-FlashDisk-01/download minfree=200 free=
+ [ 200 = 0 ]
+ [ -d /var/media/ftp/Generic-FlashDisk-01/download ]
+ msg=0
+ true
+ free_diskspace /var/media/ftp/Generic-FlashDisk-01/download
+ grep -A 1 /
+ sed -n :a;$!N;$!ba;s/\n */ /g;p
+ tr -d \n\r
+ /var/media/ftp/Generic-FlashDisk-01/FritzLoad/bin/../bin/busybox df -m /var/media/ftp/Generic-FlashDisk-01/download
+ sed -n s,[^/]*[^ ]* *[0-9]* *[0-9]* *\([0-9]*\) .*,\1,p
+ free=917
+ [ -n 917 ]
+ [ 0 = 0 ]
+ echo Freier Speicher auf /var/media/ftp/Generic-FlashDisk-01/download: 917 Mbyte
Freier Speicher auf /var/media/ftp/Generic-FlashDisk-01/download: 917 Mbyte
+ local sbar0 sbar1 sbar2 sbar3 sbar4 sbar5 sbar6 sbar7 sbar8 sbar9 sbar10 sbar11 sbar12
+ local i=-1 reservedSpace=0 totalSize receivedSize
+ [ -1 -lt 4 ]
+ i=0
+ [ 0 = 1 ]
+ curl_speedbar_vars /var/tmp/fritzload0/dl.progress
+ local file=/var/tmp/fritzload0/dl.progress i
+ sbar0=
+ [ -f /var/tmp/fritzload0/dl.progress ]
+ return 1
+ [ 0 -lt 4 ]
+ i=1
+ [ 1 = 1 ]
+ continue
+ [ 1 -lt 4 ]
+ i=2
+ [ 2 = 1 ]
+ curl_speedbar_vars /var/tmp/fritzload2/dl.progress
+ local file=/var/tmp/fritzload2/dl.progress i
+ sbar0=
+ [ -f /var/tmp/fritzload2/dl.progress ]
+ return 1
+ [ 2 -lt 4 ]
+ i=3
+ [ 3 = 1 ]
+ curl_speedbar_vars /var/tmp/fritzload3/dl.progress
+ local file=/var/tmp/fritzload3/dl.progress i
+ sbar0=
+ [ -f /var/tmp/fritzload3/dl.progress ]
+ return 1
+ [ 3 -lt 4 ]
+ i=4
+ [ 4 = 1 ]
+ curl_speedbar_vars /var/tmp/fritzload4/dl.progress
+ local file=/var/tmp/fritzload4/dl.progress i
+ sbar0=
+ [ -f /var/tmp/fritzload4/dl.progress ]
+ return 1
+ [ 4 -lt 4 ]
+ [ 0 -ne 0 ]
+ [ 917 -lt 200 ]
+ break
+ limit_bandwidth
+ [ 0 = 1 ]
+ dllimit=1000000k
+ ullimit=1000000k
+ echo URL-Download (T:1/R:5): http://fs5001d24.fileserve.com/file/huibuh/YHZw9uS5IUu9K1SELsDYaampqJcl6OLKCr8wL2jpromHG3OsuX85MiwEfXjHbRM23fAQSN-S4-x9HRZfy3epek_CJjP0hAErP7c8Ym1AhiC2BN2keRLlxQ8C6z9quupnkpca2ps9TvbhptdDME-7u1QgUUJCVyfC8IucQd5zIig./meinedatei.rar (File: meinedatei.rar)
URL-Download (T:1/R:5): http://fs5001d24.fileserve.com/file/huibuh/YHZw9uS5IUu9K1SELsDYaampqJcl6OLKCr8wL2jpromHG3OsuX85MiwEfXjHbRM23fAQSN-S4-x9HRZfy3epek_CJjP0hAErP7c8Ym1AhiC2BN2keRLlxQ8C6z9quupnkpca2ps9TvbhptdDME-7u1QgUUJCVyfC8IucQd5zIig./meinedatei.rar (File: meinedatei.rar)
+ echo -n fileserve_com-premium: meinedatei.rar
+ curl_msg_update
+ messageCount=31
+ [ 31 -ge 100 ]
+ echo -n 31
+ local storeFile=/var/media/ftp/Generic-FlashDisk-01/download/tmp/meinedatei.rar.part
+ [ 0 = 1 ]
+ /var/media/ftp/Generic-FlashDisk-01/FritzLoad/bin/../bin/curl -A 1 --location --speed-limit 500b --speed-time 400 --limit-rate 1000000k --user-agent User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8 --insecure --dump-header /var/tmp/fritzload1/dl.head --output /var/media/ftp/Generic-FlashDisk-01/download/tmp/meinedatei.rar.part http://fs5001d24.fileserve.com/file/huibuh/YHZw9uS5IUu9K1SELsDYaampqJcl6OLKCr8wL2jpromHG3OsuX85MiwEfXjHbRM23fAQSN-S4-x9HRZfy3epek_CJjP0hAErP7c8Ym1AhiC2BN2keRLlxQ8C6z9quupnkpca2ps9TvbhptdDME-7u1QgUUJCVyfC8IucQd5zIig./meinedatei.rar --globoff --write-out %{http_code} --data download=normal --referer http://www.fileserve.com/file/huibuh -b /var/tmp/fritzload1/dl.cookie.txt
+ grep ; [fF]ilename= /var/tmp/fritzload1/dl.head
+ sed -n s:.*; [fF]ilename=\"\?\([^\"]*\).*:\1:p
+ sed -e $!d
+ sed -e s,\ *$,,
+ tr -d \n\r\t
+ h_file=
+ grep ^[cC]ontent-[lL]ength: /var/tmp/fritzload1/dl.head
+ sed -n s,[cC]ontent-[lL]ength: \([0-9]*\).*,\1,p
+ sed -e $!d
+ h_size=1651
+ sed -n s,[cC]ontent-[tT]ype: \(.*\),\1,p
+ grep ^[cC]ontent-[tT]ype: /var/tmp/fritzload1/dl.head
+ sed -e $!d
+ tr -d \n\r\t
+ h_type=text/html; charset=iso-8859-1
+ curl_speedbar_log /var/tmp/fritzload1/dl.progress
+ local sbar0 sbar1 sbar2 sbar3 sbar4 sbar5 sbar6 sbar7 sbar8 sbar9 sbar10 sbar11 sbar12
+ curl_speedbar_vars /var/tmp/fritzload1/dl.progress
+ local file=/var/tmp/fritzload1/dl.progress i
+ sbar0=
+ [ -f /var/tmp/fritzload1/dl.progress ]
+ i=1
+ + /var/media/ftp/Generic-FlashDisk-01/FritzLoad/bin/../bin/busyboxtr tail -s \n
-c 77 /var/tmp/fritzload1/dl.progress
+ eval sbar1=0
+ sbar1=0
+ i=2
+ eval sbar2=1651
+ sbar2=1651
+ i=3
+ eval sbar3=100
+ sbar3=100
+ i=4
+ eval sbar4=1651
+ sbar4=1651
+ i=5
+ eval sbar5=0
+ sbar5=0
+ i=6
+ eval sbar6=15
+ sbar6=15
+ i=7
+ eval sbar7=4445
+ sbar7=4445
+ i=8
+ eval sbar8=40
+ sbar8=40
+ i=9
+ eval sbar9=--:--:--
+ sbar9=--:--:--
+ i=10
+ eval sbar10=--:--:--
+ sbar10=--:--:--
+ i=11
+ eval sbar11=--:--:--
+ sbar11=--:--:--
+ i=12
+ eval sbar12=12898
+ sbar12=12898
+ i=13
+ [ -n ]
+ [ -e /var/tmp/fritzload1/dl.progress.file ]
+ cat /var/tmp/fritzload1/dl.progress.file
+ sbar0=fileserve_com-premium: meinedatei.rar
+ return 0
+ echo -n time:--:--:-- size:1651 speed:4445
+ return 1
+ logbar=time:--:--:-- size:1651 speed:4445
+ rm -f /var/tmp/fritzload1/dl.progress /var/tmp/fritzload1/dl.progress.file /var/tmp/fritzload1/dl.progress.msg
+ [ 0 = 1 ]
+ [ -n .*\(text\).* ]
+ echo -n text/html; charset=iso-8859-1
+ sed -e s/.*\(text\).*//
+ [ -z ]
+ errmsg Content-Type mismatched: received (text/html; charset=iso-8859-1)
+ date +%H:%M
+ local msg=FAILED: 19:12: Content-Type mismatched: received (text/html; charset=iso-8859-1)
+ curl_msg_update
+ messageCount=32
+ [ 32 -ge 100 ]
+ echo -n 32
+ echo FAILED: 19:12: Content-Type mismatched: received (text/html; charset=iso-8859-1)
FAILED: 19:12: Content-Type mismatched: received (text/html; charset=iso-8859-1)
+ curl_msg FAILED: 19:12: Content-Type mismatched: received (text/html; charset=iso-8859-1)
+ local message=FAILED: 19:12: Content-Type mismatched: received (text/html; charset=iso-8859-1) type=dl
+ rm -f /var/tmp/fritzload1/dl.progress*
+ echo -n FAILED: 19:12: Content-Type mismatched: received (text/html; charset=iso-8859-1)
+ smbmsg FAILED: 19:12: Content-Type mismatched: received (text/html; charset=iso-8859-1)
+ [ 0 -eq 1 ]
+ dboxmsg FAILED: 19:12: Content-Type mismatched: received (text/html; charset=iso-8859-1)