wetzstein513
Mitglied
- Mitglied seit
- 29 Jan 2007
- Beiträge
- 515
- Punkte für Reaktionen
- 0
- Punkte
- 0
@rolex: Das Problem ist das dann die Datei in den RAM geladen wird und wenn der überläuft/voll ist bootet die Box halt neu...
find ich nicht in deinem Post :?:mkdir -pm 0777 /var/media/ftp/virtual_usb/
ctlmgr_ctl r connection0 pppoe:status/ip
FritzLoad gestartet 02.04.2011 13:58:23: ./fritzload.sh 3 -pl-DEBUG /var/media/ftp/<USB-Name>/FritzLoad/cgi/../config/dl_jobs3.txt
+ dl_job_file=/var/media/ftp/<USB-Name>/FritzLoad/cgi/../config/dl_jobs3.txt
+ accountType=premium
+ [ /var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads = default ]
+ _debug Pruefung 1: targetdir:
+ [ 1 = 1 ]
+ echo === DEBUG: Pruefung 1: targetdir:
=== DEBUG: Pruefung 1: targetdir:
+ _debug Pruefung 1: targetdirDOWNLOAD: /var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads
+ [ 1 = 1 ]
+ echo === DEBUG: Pruefung 1: targetdirDOWNLOAD: /var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads
=== DEBUG: Pruefung 1: targetdirDOWNLOAD: /var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads
+ [ -z ]
+ targetdir=/var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads
+ _debug Pruefung 2: targetdir: /var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads
+ [ 1 = 1 ]
+ echo === DEBUG: Pruefung 2: targetdir: /var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads
=== DEBUG: Pruefung 2: targetdir: /var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads
+ _debug Pruefung 2: targetdirDOWNLOAD: /var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads
+ [ 1 = 1 ]
+ echo === DEBUG: Pruefung 2: targetdirDOWNLOAD: /var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads
=== DEBUG: Pruefung 2: targetdirDOWNLOAD: /var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads
+ [ 0 = 1 ]
+ _debug Pruefung 3: targetdir: /var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads
+ [ 1 = 1 ]
+ echo === DEBUG: Pruefung 3: targetdir: /var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads
=== DEBUG: Pruefung 3: targetdir: /var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads
+ _debug Pruefung 3: targetdirDOWNLOAD: /var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads
+ [ 1 = 1 ]
+ echo === DEBUG: Pruefung 3: targetdirDOWNLOAD: /var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads
=== DEBUG: Pruefung 3: targetdirDOWNLOAD: /var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads
+ targetdir=/var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads
+ [ -e /var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads ]
+ rm -f /var/media/ftp/<USB-Name>/FritzLoad/bin/../tmp/signal.stop3.dl /var/media/ftp/<USB-Name>/FritzLoad/bin/../tmp/signal.restart3.dl /var/media/ftp/<USB-Name>/FritzLoad/bin/../tmp/reconnect3.*
+ local usedHosterList=
+ sed -e s,.*\(https\?\|ftp\)://.*,,
+ echo -n /var/media/ftp/<USB-Name>/FritzLoad/cgi/../config/dl_jobs3.txt
+ [ -n /var/media/ftp/<USB-Name>/FritzLoad/cgi/../config/dl_jobs3.txt ]
+ [ -f /var/media/ftp/<USB-Name>/FritzLoad/cgi/../config/dl_jobs3.txt ]
+ true
+ isEmpty /var/media/ftp/<USB-Name>/FritzLoad/cgi/../config/dl_jobs3.txt
+ file=/var/media/ftp/<USB-Name>/FritzLoad/cgi/../config/dl_jobs3.txt
+ lock /var/media/ftp/<USB-Name>/FritzLoad/cgi/../config/dl_jobs3.txt
+ local lock=/var/tmp/fritzloadLocks/dl_jobs3.txt.lock waitMax=30 exit=1 garbageEvery=5 checked=0
+ ln -s 8799 /var/tmp/fritzloadLocks/dl_jobs3.txt.lock
+ return 0
+ grep -c . /var/media/ftp/<USB-Name>/FritzLoad/cgi/../config/dl_jobs3.txt
+ [ 15 = 0 ]
+ unlock /var/media/ftp/<USB-Name>/FritzLoad/cgi/../config/dl_jobs3.txt
+ rm -f /var/tmp/fritzloadLocks/dl_jobs3.txt.lock
+ return 1
+ nextHosterEntry /var/media/ftp/<USB-Name>/FritzLoad/cgi/../config/dl_jobs3.txt
+ local file=/var/media/ftp/<USB-Name>/FritzLoad/cgi/../config/dl_jobs3.txt line=
+ usedHosterList=
+ nextLine /var/media/ftp/<USB-Name>/FritzLoad/cgi/../config/dl_jobs3.txt
+ local file=/var/media/ftp/<USB-Name>/FritzLoad/cgi/../config/dl_jobs3.txt
+ lock /var/media/ftp/<USB-Name>/FritzLoad/cgi/../config/dl_jobs3.txt
+ local lock=/var/tmp/fritzloadLocks/dl_jobs3.txt.lock waitMax=30 exit=1 garbageEvery=5 checked=0
+ ln -s 8799 /var/tmp/fritzloadLocks/dl_jobs3.txt.lock
+ return 0
+ correctFile /var/media/ftp/<USB-Name>/FritzLoad/cgi/../config/dl_jobs3.txt
+ local file=/var/media/ftp/<USB-Name>/FritzLoad/cgi/../config/dl_jobs3.txt unlock=0
+ grep -c \r /var/media/ftp/<USB-Name>/FritzLoad/cgi/../config/dl_jobs3.txt
+ [ 14 != 0 ]
+ alreadyLocked /var/media/ftp/<USB-Name>/FritzLoad/cgi/../config/dl_jobs3.txt
+ local lock=/var/tmp/fritzloadLocks/dl_jobs3.txt.lock
+ __read_lock_pid /var/tmp/fritzloadLocks/dl_jobs3.txt.lock
+ [ -L /var/tmp/fritzloadLocks/dl_jobs3.txt.lock ]
+ ls -l /var/tmp/fritzloadLocks/dl_jobs3.txt.lock
+ sed -n s,.* -> \([0-9][0-9]*\)$,\1,p
+ [ 8799 = 8799 ]
+ return 0
+ tr -d \r\t
+ mv /var/media/ftp/<USB-Name>/FritzLoad/cgi/../config/dl_jobs3.txt.tmp /var/media/ftp/<USB-Name>/FritzLoad/cgi/../config/dl_jobs3.txt
+ [ 0 = 1 ]
+ sed -e 1!d /var/media/ftp/<USB-Name>/FritzLoad/cgi/../config/dl_jobs3.txt
+ unlock /var/media/ftp/<USB-Name>/FritzLoad/cgi/../config/dl_jobs3.txt
+ rm -f /var/tmp/fritzloadLocks/dl_jobs3.txt.lock
+ return 0
+ matchedLine=02.04.11-00:46; http://ul.to/abcdefgh/
+ matchedLineStore=02.04.11-00:46; http://ul.to/abcdefgh/
+ skip=0
+ echo -n 02.04.11-00:46; http://ul.to/abcdefgh/
+ sed -n s/^[ \ ]*@\(.*\)/\1/p;s/[ \ ]*$//
+ passwd=
+ [ -n ]
+ [ -z 02.04.11-00:46; http://ul.to/abcdefgh/ -o -z 02.04.11-00:46; http://ul.to/abcdefgh/ ]
+ echo -n 02.04.11-00:46; http://ul.to/abcdefgh/
+ sed /^[ \ ]*#.*/d
+ [ -z 02.04.11-00:46; http://ul.to/abcdefgh/ ]
+ [ 0 = 1 ]
+ [ 0 = 1 ]
+ local loopDownload=0
+ [ -z 02.04.11-00:46; http://ul.to/abcdefgh/ ]
+ oneclickhoster 02.04.11-00:46; http://ul.to/abcdefgh/ premium
+ url_string 02.04.11-00:46; http://ul.to/abcdefgh/
+ tr -s /
+ sed -e s,^[ \ R]*\([0-9][0-9]\.[0-9][0-9]\.[0-9][0-9]-[0-9][0-9]:[0-9][0-9];\)\?[ \ ]*\([^ ]*\)[ \ ]*\(;.*\)\?$,\2,;\
s,\ *$,,;\
s/%3F/?/
+ echo -n 02.04.11-00:46; http://ul.to/abcdefgh/
+ sed -e s,\(https\?\|ftp\):/,\1://,
+ local param=http://ul.to/abcdefgh/ param2file=
+ echo -n http://ul.to/abcdefgh/
+ tr -d \n\r\t
+ [ -z http://ul.to/abcdefgh/ ]
+ [ 0 = 1 ]
+ date +%d.%m.%y-%H:%M
+ matchedLineStore=02.04.11-13:58; http://ul.to/abcdefgh/
+ local switchPremium=premium
+ [ premium = free -a 0 = 1 ]
+ local premium=premium
+ sed -e s,\(http://\)rs[0-9a-z]*_\(rapidshare.com.*\),\1\2, -e s,^https\?://\(www.\)*\([^/]*\).*,\2, -e s,2shared_com,twoshared_com, -e s,4shared_com,fourshared_com, -e s,http://anonym.to/?,, -e s,http://dontknow.me/at/?,, -e s,http://dontknowme.at/?,,+ tr A-Z\-\. a-z__
+ echo -n http://ul.to/abcdefgh/
+ hoster_main=ul_to
+ hoster_plugin=/var/media/ftp/<USB-Name>/FritzLoad/bin/../lib/hoster/ul_to.sh
+ [ -n ul_to -a -f /var/media/ftp/<USB-Name>/FritzLoad/bin/../lib/hoster/ul_to.sh ]
+ hoster ul_to premium
+ local host=ul_to wishedAccountType=premium try=0 success=0 reconnected=0
+ local accountType=premium
+ [ premium = premium ]
+ [ 0 = 1 ]
+ [ 0 = 1 ]
+ [ ul_to != normaldownload ]
+ sed -n s,.*\(https\?://[^/]*\).*,\1,p
+ echo -n http://ul.to/abcdefgh/
+ local http=http://ul.to
+ [ -n http://ul.to ]
+ [ -z ]
+ usedHosterList=http://ul.to
+ echo -e ### ul_to-premium: http://ul.to/abcdefgh/
### ul_to-premium: http://ul.to/abcdefgh/
+ waitPing
+ print Warte auf Internetverbindung...
+ curl_msg_update
+ messageCount=1
+ [ 1 -ge 100 ]
+ echo -n 1
+ date +%H:%M:%S
+ echo 13:58:27 Warte auf Internetverbindung...
13:58:27 Warte auf Internetverbindung...
+ [ 0 = 0 ]
+ return
+ [ 0 = 0 ]
+ curl_msg Warte auf Internetverbindung...
+ local message=Warte auf Internetverbindung... type=dl
+ rm -f /var/tmp/fritzload3/dl.progress.msg
+ echo -n Warte auf Internetverbindung...
+ ping -c 1 google.com
+ [ 0 = 0 ]
+ unrarFileBaseChanged
+ unrarFileBase
+ local file=
+ sed -n s/\.[pP][aA][rR][tT][0-9]*\.[rR][aA][rR]$//p
+ echo -n
+ base=
+ [ -z ]
+ sed -n s/\.[rR][aA0-9][rR0-9][0-9]*$//p
+ echo -n
+ base=
+ echo
+ local file= base=
+ [ -n ]
+ return 1
+ curl_msg_update
+ messageCount=2
+ [ 2 -ge 100 ]
+ echo -n 2
+ filename=http://ul.to/abcdefgh/
+ ul_to premium
+ uploaded_to premium
+ local f=/var/tmp/fritzload3/dl.response.htm c=/var/tmp/fritzload3/uploaded.cookie
+ local accountType=premium file url
+ local fileid waittime apidata
+ local public_key challenge imageurl captchatrader_answer captchatrader_id
+ [ -z http://ul.to/abcdefgh/ ]
+ [ -z ]
+ fileid=abcdefgh/
+ [ -n abcdefgh/ ]
+ /var/media/ftp/<USB-Name>/FritzLoad/bin/../bin/curl -s -d apikey=h^Hve6Fak8Ca8gSsS97LXz6G3cSlLpUug -d id_0=abcdefgh/ http://uploaded.to/api/filemultiple
+ apidata=online,abcdefgh,106000000,b2d989d5ed526082a6c9abcde851940921dfaffe,Mein.langer.Dateiname.txt
+ [ -n online,abcdefgh,106000000,b2d989d5ed526082a6c9abcde851940921dfaffe,Mein.langer.Dateiname.txt ]
+ [ -z online,abcdefgh,106000000,b2d989d5ed526082a6c9abcde851940921dfaffe,Mein.langer.Dateiname.txt ]
+ echo online,abcdefgh,106000000,b2d989d5ed526082a6c9abcde851940921dfaffe,Mein.langer.Dateiname.txt
+ sed -n s/online,[^,]*,[^,]*,[^,]*,\([^,]*\)/\1/p
+ file=Mein.langer.Dateiname.txt
+ [ -n Mein.langer.Dateiname.txt ]
+ alreadyLoaded Mein.langer.Dateiname.txt
+ [ 0 = 1 ]
+ local filename=Mein.langer.Dateiname.txt storedir
+ [ -z Mein.langer.Dateiname.txt ]
+ storedir=/var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads
+ [ -f /var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads/Mein.langer.Dateiname.txt ]
+ return 1
+ echo FileID: abcdefgh/
FileID: abcdefgh/
+ echo API Filename: Mein.langer.Dateiname.txt
API Filename: Mein.langer.Dateiname.txt
+ [ premium = premium ]
+ __premuploaded
+ [ 0 -eq 0 ]
+ echo Setze Uploaded Premium Cookie
Setze Uploaded Premium Cookie
+ uploaded_cookie=1
+ /var/media/ftp/<USB-Name>/FritzLoad/bin/../bin/curl -s http://uploaded.to/io/login --cookie-jar /var/tmp/fritzload3/uploaded.cookie -d id=1234567 -d pw=password
+ local loginanswer=
+ grep -q User and password do not match!
+ echo
+ [ 0 -lt 5 ]
+ try=1
+ echo Getting Url
Getting Url
+ [ -n abcdefgh/ ]
+ url=http://uploaded.to/file/abcdefgh//ddl
+ download http://uploaded.to/file/abcdefgh//ddl Mein.langer.Dateiname.txt --cookie /var/tmp/fritzload3/uploaded.cookie --retry 3 -C -
+ /var/media/ftp/<USB-Name>/FritzLoad/bin/../bin/busybox26 basename Mein.langer.Dateiname.txt
+ local url=http://uploaded.to/file/abcdefgh//ddl bname=Mein.langer.Dateiname.txt options=--cookie /var/tmp/fritzload3/uploaded.cookie --retry 3 -C - chkFileSize= forceFileName=0
+ local failedContentHeader=.*\(text\).* h_file h_file_header h_size h_type filepath logbar
+ filename Mein.langer.Dateiname.txt
+ echo -n Mein.langer.Dateiname.txt
+ tr -c A-Za-z0-9_#\/\-\. _
+ filename=Mein.langer.Dateiname.txt
+ cleanup
+ local type=dl
+ [ 1 = 0 ]
+ _checkNAS
+ targetdir=/var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads
+ [ ! -f /var/tmp/nasstatus.txt ]
+ [ 0 = 1 ]
+ local tempdir= storedir=
+ [ -z Mein.langer.Dateiname.txt ]
+ tempdir=/var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads/tmp
+ storedir=/var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads
+ mkdir -pm 0777 /var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads/tmp
+ alreadyLoaded /var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads/Mein.langer.Dateiname.txt
+ [ 0 = 1 ]
+ local filename=/var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads/Mein.langer.Dateiname.txt storedir
+ [ -z ]
+ storedir=/var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads
+ filename=Mein.langer.Dateiname.txt
+ [ -f /var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads/Mein.langer.Dateiname.txt ]
+ return 1
+ [ --cookie /var/tmp/fritzload3/uploaded.cookie --retry 3 -C - = - ]
+ [ = - ]
+ [ .*\(text\).* = - ]
+ download_limit
+ check_free_diskspace /var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads 200
+ local dir=/var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads minfree=200 free=
+ [ 200 = 0 ]
+ [ -d /var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads ]
+ msg=0
+ true
+ free_diskspace /var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads
+ sed -n :a;$!N;$!ba;s/\n */ /g;p
+ grep -A 1 ^/
+ /var/media/ftp/<USB-Name>/FritzLoad/bin/../bin/busybox26 df -m /var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads
+ sed -n s,[^/]*[^ ]* *[0-9]* *[0-9]* *\([0-9]*\) .*,\1,p
+ tr -d \n\r
+ free=138435
+ [ -n 138435 ]
+ [ 0 = 0 ]
+ echo Freier Speicher auf /var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads: 138435 Mbyte
Freier Speicher auf /var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads: 138435 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 = 3 ]
+ 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 = 3 ]
+ curl_speedbar_vars /var/tmp/fritzload1/dl.progress
+ local file=/var/tmp/fritzload1/dl.progress i
+ sbar0=
+ [ -f /var/tmp/fritzload1/dl.progress ]
+ return 1
+ [ 1 -lt 4 ]
+ i=2
+ [ 2 = 3 ]
+ 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 = 3 ]
+ continue
+ [ 3 -lt 4 ]
+ i=4
+ [ 4 = 3 ]
+ 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 ]
+ [ 138435 -lt 200 ]
+ break
+ limit_bandwidth
+ [ 0 = 1 ]
+ dllimit=1000000k
+ ullimit=1000000k
+ echo URL-Download (T:1/R:5): http://uploaded.to/file/abcdefgh//ddl (File: Mein.langer.Dateiname.txt)
URL-Download (T:1/R:5): http://uploaded.to/file/abcdefgh//ddl (File: Mein.langer.Dateiname.txt)
+ echo -n ul_to-premium: Mein.langer.Dateiname.txt
+ curl_msg_update
+ messageCount=3
+ [ 3 -ge 100 ]
+ echo -n 3
+ local storeFile=/var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads/tmp/Mein.langer.Dateiname.txt.part
+ [ 0 = 1 ]
+ /var/media/ftp/<USB-Name>/FritzLoad/bin/../bin/curl -A 3 --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 --dump-header /var/tmp/fritzload3/dl.head --output /var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads/tmp/Mein.langer.Dateiname.txt.part http://uploaded.to/file/abcdefgh//ddl --globoff --write-out %{http_code} --cookie /var/tmp/fritzload3/uploaded.cookie --retry 3 -C -
+ sed -e+ tr -d \n\r\t+ sed -e $!d
+ sed -n s:.*; [fF]ilename=\"\?\([^\"]*\).*:\1:p
+ grep ; [fF]ilename= /var/tmp/fritzload3/dl.head
s,\ *$,,
+ h_file=
+ sed -n s,[cC]ontent-[lL]ength: \([0-9]*\).*,\1,p
+ sed -e $!d
+ grep ^[cC]ontent-[lL]ength: /var/tmp/fritzload3/dl.head
+ h_size=6310
+ sed -e $!d
+ + grep ^[cC]ontent-[tT]ype: /var/tmp/fritzload3/dl.head
+ tr -d \n\r\t
sed -n s,[cC]ontent-[tT]ype: \(.*\),\1,p
+ h_type=text/html
+ curl_speedbar_log /var/tmp/fritzload3/dl.progress
+ local sbar0 sbar1 sbar2 sbar3 sbar4 sbar5 sbar6 sbar7 sbar8 sbar9 sbar10 sbar11 sbar12
+ curl_speedbar_vars /var/tmp/fritzload3/dl.progress
+ local file=/var/tmp/fritzload3/dl.progress i
+ sbar0=
+ [ -f /var/tmp/fritzload3/dl.progress ]
+ i=1
+ tr -s \n
+ /var/media/ftp/<USB-Name>/FritzLoad/bin/../bin/busybox26 tail -c 77 /var/tmp/fritzload3/dl.progress
+ eval sbar1=0
+ sbar1=0
+ i=2
+ eval sbar2=6310
+ sbar2=6310
+ i=3
+ eval sbar3=100
+ sbar3=100
+ i=4
+ eval sbar4=6310
+ sbar4=6310
+ i=5
+ eval sbar5=0
+ sbar5=0
+ i=6
+ eval sbar6=0
+ sbar6=0
+ i=7
+ eval sbar7=33100
+ sbar7=33100
+ i=8
+ eval sbar8=0
+ sbar8=0
+ i=9
+ eval sbar9=--:--:--
+ sbar9=--:--:--
+ i=10
+ eval sbar10=--:--:--
+ sbar10=--:--:--
+ i=11
+ eval sbar11=--:--:--
+ sbar11=--:--:--
+ i=12
+ eval sbar12=44125
+ sbar12=44125
+ i=13
+ [ -n ]
+ [ -e /var/tmp/fritzload3/dl.progress.file ]
+ cat /var/tmp/fritzload3/dl.progress.file
+ sbar0=ul_to-premium: Mein.langer.Dateiname.txt
+ return 0
+ echo -n time:--:--:-- size:6310 speed:33100
+ return 1
+ logbar=time:--:--:-- size:6310 speed:33100
+ rm -f /var/tmp/fritzload3/dl.progress /var/tmp/fritzload3/dl.progress.file /var/tmp/fritzload3/dl.progress.msg
+ [ 0 = 1 ]
+ [ -n .*\(text\).* ]
+ sed -e s/.*\(text\).*//
+ echo -n text/html
+ [ -z ]
+ errmsg Content-Type mismatched: received (text/html)
+ date +%H:%M
+ local msg=FAILED: 13:58: Content-Type mismatched: received (text/html)
+ curl_msg_update
+ messageCount=4
+ [ 4 -ge 100 ]
+ echo -n 4
+ echo FAILED: 13:58: Content-Type mismatched: received (text/html)
FAILED: 13:58: Content-Type mismatched: received (text/html)
+ curl_msg FAILED: 13:58: Content-Type mismatched: received (text/html)
+ local message=FAILED: 13:58: Content-Type mismatched: received (text/html) type=dl
+ rm -f /var/tmp/fritzload3/dl.progress*
+ echo -n FAILED: 13:58: Content-Type mismatched: received (text/html)
+ smbmsg FAILED: 13:58: Content-Type mismatched: received (text/html)
+ [ 0 -eq 1 ]
+ dboxmsg FAILED: 13:58: Content-Type mismatched: received (text/html)
+ errmsgdbox======================================================================\n
=== Message auf Dbox/Dreambox wurde ausgeschaltet (Fehler)\n
=== Bitte überprüfen Sie die Einstellungen in der Config\n
=====================================================================
+ [ 0 -gt 0 ]
+ mv /var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads/tmp/Mein.langer.Dateiname.txt.part /var/media/ftp/<USB-Name>/FritzLoad/cgi/../downloads/Mein.langer.Dateiname.txt.failed
+ return 1