FritzLoad gestartet 02.10.2010 22:27:34: ./fritzload.sh 1 -l-DEBUG /var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt
+ dl_job_file=/var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt
+ accountType=free
+ [ /var/fritzload/downloads = default ]
+ [ = 1 ]
+ _checkNAS
+ targetdir=/var/fritzload/downloads
+ [ = 1 ]
+ return 99
+ targetdir=/var/fritzload/downloads
+ [ -e /var/fritzload/downloads ]
+ rm -f /var/media/ftp/Generic-USBSDReader-01/FritzLoad/bin/../tmp/signal.stop1.dl /var/media/ftp/Generic-USBSDReader-01/FritzLoad/bin/../tmp/signal.restart1.dl /var/media/ftp/Generic-USBSDReader-01/FritzLoad/bin/../tmp/reconnect1.*
+ local usedHosterList=
+ echo -n /var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt
+ sed -e s,.*\(https\?\|ftp\)://.*,,
+ [ -n /var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt ]
+ [ -f /var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt ]
+ true
+ isEmpty /var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt
+ file=/var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt
+ lock /var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt
+ local lock=/var/tmp/fritzloadLocks/dl_jobs1.txt.lock waitMax=30 exit=1 garbageEvery=5 checked=0
+ ln -s 30118 /var/tmp/fritzloadLocks/dl_jobs1.txt.lock
+ return 0
+ grep -c . /var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt
+ [ 2 = 0 ]
+ unlock /var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt
+ rm -f /var/tmp/fritzloadLocks/dl_jobs1.txt.lock
+ return 1
+ nextHosterEntry /var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt
+ local file=/var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt line=
+ usedHosterList=
+ nextLine /var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt
+ local file=/var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt
+ lock /var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt
+ local lock=/var/tmp/fritzloadLocks/dl_jobs1.txt.lock waitMax=30 exit=1 garbageEvery=5 checked=0
+ ln -s 30118 /var/tmp/fritzloadLocks/dl_jobs1.txt.lock
+ return 0
+ correctFile /var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt
+ local file=/var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt unlock=0
+ grep -c \r /var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt
+ [ 2 != 0 ]
+ alreadyLocked /var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt
+ local lock=/var/tmp/fritzloadLocks/dl_jobs1.txt.lock
+ __read_lock_pid /var/tmp/fritzloadLocks/dl_jobs1.txt.lock
+ [ -L /var/tmp/fritzloadLocks/dl_jobs1.txt.lock ]
+ ls -l /var/tmp/fritzloadLocks/dl_jobs1.txt.lock
+ sed -n s,.* -> \([0-9][0-9]*\)$,\1,p
+ [ 30118 = 30118 ]
+ return 0
+ tr -d \r\t
+ mv /var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt.tmp /var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt
+ [ 0 = 1 ]
+ sed -e 1!d /var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt
+ unlock /var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt
+ rm -f /var/tmp/fritzloadLocks/dl_jobs1.txt.lock
+ return 0
+ matchedLine=
+ matchedLineStore=
+ skip=0
+ echo -n
+ sed -n s/^[ \ ]*@\(.*\)/\1/p;s/[ \ ]*$//
+ passwd=
+ [ -n ]
+ [ -z -o -z ]
+ print Leerzeile 1
+ curl_msg_update
+ messageCount=1
+ [ 1 -ge 100 ]
+ echo -n 1
+ date +%H:%M:%S
+ echo 22:27:34 Leerzeile
22:27:34 Leerzeile
+ [ 1 = 0 ]
+ curl_msg Leerzeile
+ local message=Leerzeile type=dl
+ rm -f /var/tmp/fritzload1/dl.progress.msg
+ echo -n Leerzeile
+ [ 1 -ge 2 ]
+ [ 1 = 3 ]
+ startUnrar=1
+ skip=1
+ [ 1 = 1 ]
+ lock /var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt
+ local lock=/var/tmp/fritzloadLocks/dl_jobs1.txt.lock waitMax=30 exit=1 garbageEvery=5 checked=0
+ ln -s 30118 /var/tmp/fritzloadLocks/dl_jobs1.txt.lock
+ return 0
+ tr -d \r\t
+ sed -e 1d
+ mv /var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt.tmp /var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt
+ unlock /var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt
+ rm -f /var/tmp/fritzloadLocks/dl_jobs1.txt.lock
+ continue
+ true
+ isEmpty /var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt
+ file=/var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt
+ lock /var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt
+ local lock=/var/tmp/fritzloadLocks/dl_jobs1.txt.lock waitMax=30 exit=1 garbageEvery=5 checked=0
+ ln -s 30118 /var/tmp/fritzloadLocks/dl_jobs1.txt.lock
+ return 0
+ grep -c . /var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt
+ [ 2 = 0 ]
+ unlock /var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt
+ rm -f /var/tmp/fritzloadLocks/dl_jobs1.txt.lock
+ return 1
+ nextHosterEntry /var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt
+ local file=/var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt line=
+ usedHosterList=
+ nextLine /var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt
+ local file=/var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt
+ lock /var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt
+ local lock=/var/tmp/fritzloadLocks/dl_jobs1.txt.lock waitMax=30 exit=1 garbageEvery=5 checked=0
+ ln -s 30118 /var/tmp/fritzloadLocks/dl_jobs1.txt.lock
+ return 0
+ correctFile /var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt
+ local file=/var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt unlock=0
+ grep -c \r /var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt
+ [ 2 != 0 ]
+ alreadyLocked /var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt
+ local lock=/var/tmp/fritzloadLocks/dl_jobs1.txt.lock
+ __read_lock_pid /var/tmp/fritzloadLocks/dl_jobs1.txt.lock
+ [ -L /var/tmp/fritzloadLocks/dl_jobs1.txt.lock ]
+ ls -l /var/tmp/fritzloadLocks/dl_jobs1.txt.lock
+ sed -n s,.* -> \([0-9][0-9]*\)$,\1,p
+ [ 30118 = 30118 ]
+ return 0
+ tr -d \r\t
+ mv /var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt.tmp /var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt
+ [ 0 = 1 ]
+ sed -e 1!d /var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt
+ unlock /var/media/ftp/Generic-USBSDReader-01/FritzLoad/cgi/../config/dl_jobs1.txt
+ rm -f /var/tmp/fritzloadLocks/dl_jobs1.txt.lock
+ return 0
+ matchedLine=http://rapidshare.com/files/290951250/SATCDF-S.part01.rar
+ matchedLineStore=http://rapidshare.com/files/290951250/SATCDF-S.part01.rar
+ skip=0
+ echo -n http://rapidshare.com/files/290951250/SATCDF-S.part01.rar
+ sed -n s/^[ \ ]*@\(.*\)/\1/p;s/[ \ ]*$//
+ passwd=
+ [ -n ]
+ [ -z http://rapidshare.com/files/290951250/SATCDF-S.part01.rar -o -z http://rapidshare.com/files/290951250/SATCDF-S.part01.rar ]
+ echo -n http://rapidshare.com/files/290951250/SATCDF-S.part01.rar
+ sed /^[ \ ]*#.*/d
+ [ -z http://rapidshare.com/files/290951250/SATCDF-S.part01.rar ]
+ [ 0 = 1 ]
+ [ 1 = 1 ]
+ unrarit
+ unrar_settings
+ local ini=/var/media/ftp/Generic-USBSDReader-01/FritzLoad/bin/../config/unrar.ini
+ [ ! -f /var/media/ftp/Generic-USBSDReader-01/FritzLoad/bin/../config/unrar.ini ]
+ echo Unrar-Fehler: Es existieren keine Unrar-Einstellungen (/var/media/ftp/Generic-USBSDReader-01/FritzLoad/bin/../config/unrar.ini)
Unrar-Fehler: Es existieren keine Unrar-Einstellungen (/var/media/ftp/Generic-USBSDReader-01/FritzLoad/bin/../config/unrar.ini)
+ return 1
+ return 1
+ local loopDownload=0
+ [ -z http://rapidshare.com/files/290951250/SATCDF-S.part01.rar ]
+ oneclickhoster http://rapidshare.com/files/290951250/SATCDF-S.part01.rar free
+ url_string http://rapidshare.com/files/290951250/SATCDF-S.part01.rar
+ echo -n http://rapidshare.com/files/290951250/SATCDF-S.part01.rar
+ 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,.*\(https\?\|ftp\)://,\1://,I;\
s/%3F/?/
+ tr -s /
+ sed -e s,\(https\?\|ftp\):/,\1://,
+ local param=http://rapidshare.com/files/290951250/SATCDF-S.part01.rar param2file=
+ echo -n http://rapidshare.com/files/290951250/SATCDF-S.part01.rar
+ tr -d \n\r\t
+ [ -z http://rapidshare.com/files/290951250/SATCDF-S.part01.rar ]
+ [ 0 = 1 ]
+ date +%d.%m.%y-%H:%M
+ matchedLineStore=02.10.10-22:27; http://rapidshare.com/files/290951250/SATCDF-S.part01.rar
+ local switchPremium=free
+ [ free = free -a 0 = 1 ]
+ local premium=free
+ echo -n http://rapidshare.com/files/290951250/SATCDF-S.part01.rar
+ tr A-Z\-\. a-z__
+ sed -e s,\(http://\)rs[0-9]*.\(rapidshare.com.*\),\1\2, -e s,^https\?://\(www.\)*\([^/]*\).*,\2, -e s,2shared_com,twoshared_com, -e s,4shared_com,fourshared_com,
+ hoster_main=rapidshare_com
+ hoster_plugin=/var/media/ftp/Generic-USBSDReader-01/FritzLoad/bin/../lib/hoster/rapidshare_com.sh
+ [ -n rapidshare_com -a -f /var/media/ftp/Generic-USBSDReader-01/FritzLoad/bin/../lib/hoster/rapidshare_com.sh ]
+ hoster rapidshare_com free
+ local host=rapidshare_com wishedAccountType=free try=0 success=0 reconnected=0
+ local accountType=free
+ [ free = premium ]
+ [ rapidshare_com != normaldownload ]
+ echo -n http://rapidshare.com/files/290951250/SATCDF-S.part01.rar
+ sed -n s,.*\(https\?://[^/]*\).*,\1,p
+ local http=http://rapidshare.com
+ [ -n http://rapidshare.com ]
+ [ -z ]
+ usedHosterList=http://rapidshare.com
+ echo -e ### rapidshare_com-free: http://rapidshare.com/files/290951250/SATCDF-S.part01.rar
### rapidshare_com-free: http://rapidshare.com/files/290951250/SATCDF-S.part01.rar
+ waitPing
+ print Warte auf Internetverbindung...
+ curl_msg_update
+ messageCount=2
+ [ 2 -ge 100 ]
+ echo -n 2
+ date +%H:%M:%S
+ echo 22:27:34 Warte auf Internetverbindung...
22:27:34 Warte auf Internetverbindung...
+ [ 0 = 0 ]
+ return
+ [ 0 = 0 ]
+ curl_msg Warte auf Internetverbindung...
+ local message=Warte auf Internetverbindung... type=dl
+ rm -f /var/tmp/fritzload1/dl.progress.msg
+ echo -n Warte auf Internetverbindung...
+ ping -c 1 google.com
+ [ 0 = 0 ]
+ unrarFileBaseChanged
+ unrarFileBase
+ local file=
+ echo -n
+ sed -n s/\.[pP][aA][rR][tT][0-9]*\.[rR][aA][rR]$//p
+ base=
+ [ -z ]
+ echo -n
+ sed -n s/\.[rR][aA0-9][rR0-9][0-9]*$//p
+ base=
+ echo
+ local file= base=
+ [ -n ]
+ return 1
+ curl_msg_update
+ messageCount=3
+ [ 3 -ge 100 ]
+ echo -n 3
+ filename=http://rapidshare.com/files/290951250/SATCDF-S.part01.rar
+ rapidshare_com free
+ local accountType=free
+ local mirrors= isOnline= name= size= waitDownload= filename
+ local waited=0 waitMaxTurns=30
+ local c=/var/tmp/fritzload1/dl.cookie.txt f=/var/tmp/fritzload1/dl.response.htm referer tmp1
+ local api1 dl_url X_filename= X_fileid= X_server= X_dlauth= X_waittime=
+ echo -n http://rapidshare.com/files/290951250/SATCDF-S.part01.rar
+ sed -e s/.*\/files\/[0-9]*\/\(.*\)/\1/;s/\(.*\)\.html$/\1/
+ X_filename=SATCDF-S.part01.rar
+ alreadyLoaded SATCDF-S.part01.rar
+ [ 0 = 1 ]
+ local filename=SATCDF-S.part01.rar storedir
+ [ -z SATCDF-S.part01.rar ]
+ storedir=/var/fritzload/downloads
+ [ -f /var/fritzload/downloads/SATCDF-S.part01.rar ]
+ return 1
+ [ free = premium ]
+ [ 0 -lt 5 ]
+ try=1
+ GET http://rapidshare.com/files/290951250/SATCDF-S.part01.rar /var/tmp/fritzload1/dl.response.htm --cookie-jar /var/tmp/fritzload1/dl.cookie.txt GET1 1
+ local url=http://rapidshare.com/files/290951250/SATCDF-S.part01.rar file=/var/tmp/fritzload1/dl.response.htm options=--cookie-jar /var/tmp/fritzload1/dl.cookie.txt title=GET1
+ local titleURL=http://rapidshare.com/files/290951250/SATCDF-S.part01.rar rs=1
+ print GET1: http://rapidshare.com/files/290951250/SATCDF-S.part01.rar Options: --cookie-jar /var/tmp/fritzload1/dl.cookie.txt
+ curl_msg_update
+ messageCount=4
+ [ 4 -ge 100 ]
+ echo -n 4
+ date +%H:%M:%S
+ echo 22:27:35 GET1: http://rapidshare.com/files/290951250/SATCDF-S.part01.rar Options: --cookie-jar /var/tmp/fritzload1/dl.cookie.txt
22:27:35 GET1: http://rapidshare.com/files/290951250/SATCDF-S.part01.rar Options: --cookie-jar /var/tmp/fritzload1/dl.cookie.txt
+ [ 0 = 0 ]
+ return
+ curl_msg GET1: http://rapidshare.com/files/290951250/SATCDF-S.part01.rar
+ local message=GET1: http://rapidshare.com/files/290951250/SATCDF-S.part01.rar type=dl
+ rm -f /var/tmp/fritzload1/dl.progress.msg
+ echo -n GET1: http://rapidshare.com/files/290951250/SATCDF-S.part01.rar
+ [ --cookie-jar /var/tmp/fritzload1/dl.cookie.txt = - ]
+ [ 1 = 0 ]
+ /var/media/ftp/Generic-USBSDReader-01/FritzLoad/bin/../bin/7390/curl -A 1 -i -so /var/tmp/fritzload1/dl.response.htm http://rapidshare.com/files/290951250/SATCDF-S.part01.rar --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 --cookie-jar /var/tmp/fritzload1/dl.cookie.txt
+ [ 1 = 1 ]
+ [ GET1 != GET ]
+ filename GET1
+ echo -n GET1
+ tr -c A-Za-z0-9_#\/\-\. _
+ cp /var/tmp/fritzload1/dl.response.htm /var/tmp/fritzload1/dl.response.htm.GET1.htm
+ return 0
+ _rapidshare_dl_failure_messages
+ grep \(File not found\|and has been blocked\|momentarily not available\|file could not be found\|has removed this file\) /var/tmp/fritzload1/dl.response.htm
+ failed=
+ [ -n ]
+ grep \(no more download slots\|lot of users are downloading\|no available slots\) /var/tmp/fritzload1/dl.response.htm
+ local message=
+ [ -n ]
+ grep \(You need RapidPro to download more files from your IP address.\) /var/tmp/fritzload1/dl.response.htm
+ message=
+ [ -n ]
+ grep \(You have reached the download limit\|Download Limit erreicht\|download session has expired\) /var/tmp/fritzload1/dl.response.htm
+ msg=
+ [ -n ]
+ local minutes=0 seconds=0
+ grep \([0-9]* seconds until you can download another\|[0-9] Minuten wieder.\|try again in about [0-9]* minutes\) /var/tmp/fritzload1/dl.response.htm
+ sed -ne s/^.* \([0-9][0-9]*\) \(Minuten\|minutes\)\..*/\1/p
+ sed -e 1!d
+ minutes=
+ [ -z ]
+ grep -m1 wait [0-9]* seconds /var/tmp/fritzload1/dl.response.htm
+ sed -e s/.*wait *\([0-9][0-9]*\).*/\1/
+ seconds=
+ [ -n -o -n ]
+ return 1
+ [ 1 -eq 2 ]
+ grep -c Location: http://rs[0-9a-z]*.rapidshare.com/files/.* /var/tmp/fritzload1/dl.response.htm
+ [ 0 -gt 0 ]
+ sed -n s,[^|]*|[^|]*|\([^|]*\)|\([^|]*\)|.*,X_fileid=\"\1\";X_filename=\"\2\";,p /var/tmp/fritzload1/dl.response.htm
+ eval X_fileid="290951250";X_filename="SATCDF-S.part01.rar";
+ X_fileid=290951250
+ X_filename=SATCDF-S.part01.rar
+ alreadyLoaded SATCDF-S.part01.rar
+ [ 0 = 1 ]
+ local filename=SATCDF-S.part01.rar storedir
+ [ -z SATCDF-S.part01.rar ]
+ storedir=/var/fritzload/downloads
+ [ -f /var/fritzload/downloads/SATCDF-S.part01.rar ]
+ return 1
+ api1=http://api.rapidshare.com/cgi-bin/rsapi.cgi?sub=download_v1&fileid=290951250&filename=SATCDF-S.part01.rar&try=1&cbf=RSAPIDispatcher&cbid=1
+ GET http://api.rapidshare.com/cgi-bin/rsapi.cgi?sub=download_v1&fileid=290951250&filename=SATCDF-S.part01.rar&try=1&cbf=RSAPIDispatcher&cbid=1 /var/tmp/fritzload1/dl.response.htm --cookie /var/tmp/fritzload1/dl.cookie.txt --cookie-jar /var/tmp/fritzload1/dl.cookie.txt GET2 1
+ local url=http://api.rapidshare.com/cgi-bin/rsapi.cgi?sub=download_v1&fileid=290951250&filename=SATCDF-S.part01.rar&try=1&cbf=RSAPIDispatcher&cbid=1 file=/var/tmp/fritzload1/dl.response.htm options=--cookie /var/tmp/fritzload1/dl.cookie.txt --cookie-jar /var/tmp/fritzload1/dl.cookie.txt title=GET2
+ local titleURL=http://api.rapidshare.com/cgi-bin/rsapi.cgi?sub=download_v1&fileid=290951250&filename=SATCDF-S.part01.rar&try=1&cbf=RSAPIDispatcher&cbid=1 rs=1
+ print GET2: http://api.rapidshare.com/cgi-bin/rsapi.cgi?sub=download_v1&fileid=290951250&filename=SATCDF-S.part01.rar&try=1&cbf=RSAPIDispatcher&cbid=1 Options: --cookie /var/tmp/fritzload1/dl.cookie.txt --cookie-jar /var/tmp/fritzload1/dl.cookie.txt
+ curl_msg_update
+ messageCount=5
+ [ 5 -ge 100 ]
+ echo -n 5
+ date +%H:%M:%S
+ echo 22:27:35 GET2: http://api.rapidshare.com/cgi-bin/rsapi.cgi?sub=download_v1&fileid=290951250&filename=SATCDF-S.part01.rar&try=1&cbf=RSAPIDispatcher&cbid=1 Options: --cookie /var/tmp/fritzload1/dl.cookie.txt --cookie-jar /var/tmp/fritzload1/dl.cookie.txt
22:27:35 GET2: http://api.rapidshare.com/cgi-bin/rsapi.cgi?sub=download_v1&fileid=290951250&filename=SATCDF-S.part01.rar&try=1&cbf=RSAPIDispatcher&cbid=1 Options: --cookie /var/tmp/fritzload1/dl.cookie.txt --cookie-jar /var/tmp/fritzload1/dl.cookie.txt
+ [ 0 = 0 ]
+ return
+ curl_msg GET2: http://api.rapidshare.com/cgi-bin/rsapi.cgi?sub=download_v1&fileid=290951250&filename=SATCDF-S.part01.rar&try=1&cbf=RSAPIDispatcher&cbid=1
+ local message=GET2: http://api.rapidshare.com/cgi-bin/rsapi.cgi?sub=download_v1&fileid=290951250&filename=SATCDF-S.part01.rar&try=1&cbf=RSAPIDispatcher&cbid=1 type=dl
+ rm -f /var/tmp/fritzload1/dl.progress.msg
+ echo -n GET2: http://api.rapidshare.com/cgi-bin/rsapi.cgi?sub=download_v1&fileid=290951250&filename=SATCDF-S.part01.rar&try=1&cbf=RSAPIDispatcher&cbid=1
+ [ --cookie /var/tmp/fritzload1/dl.cookie.txt --cookie-jar /var/tmp/fritzload1/dl.cookie.txt = - ]
+ [ 1 = 0 ]
+ /var/media/ftp/Generic-USBSDReader-01/FritzLoad/bin/../bin/7390/curl -A 1 -i -so /var/tmp/fritzload1/dl.response.htm http://api.rapidshare.com/cgi-bin/rsapi.cgi?sub=download_v1&fileid=290951250&filename=SATCDF-S.part01.rar&try=1&cbf=RSAPIDispatcher&cbid=1 --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 --cookie /var/tmp/fritzload1/dl.cookie.txt --cookie-jar /var/tmp/fritzload1/dl.cookie.txt
+ [ 1 = 1 ]
+ [ GET2 != GET ]
+ filename GET2
+ echo -n GET2
+ tr -c A-Za-z0-9_#\/\-\. _
+ cp /var/tmp/fritzload1/dl.response.htm /var/tmp/fritzload1/dl.response.htm.GET2.htm
+ return 0
+ _rapidshare_dl_failure_messages
+ grep \(File not found\|and has been blocked\|momentarily not available\|file could not be found\|has removed this file\) /var/tmp/fritzload1/dl.response.htm
+ failed=
+ [ -n ]
+ grep \(no more download slots\|lot of users are downloading\|no available slots\) /var/tmp/fritzload1/dl.response.htm
+ local message=
+ [ -n ]
+ grep \(You need RapidPro to download more files from your IP address.\) /var/tmp/fritzload1/dl.response.htm
+ message=
+ [ -n ]
+ grep \(You have reached the download limit\|Download Limit erreicht\|download session has expired\) /var/tmp/fritzload1/dl.response.htm
+ msg=
+ [ -n ]
+ local minutes=0 seconds=0
+ grep \([0-9]* seconds until you can download another\|[0-9] Minuten wieder.\|try again in about [0-9]* minutes\) /var/tmp/fritzload1/dl.response.htm
+ sed -ne s/^.* \([0-9][0-9]*\) \(Minuten\|minutes\)\..*/\1/p
+ sed -e 1!d
+ minutes=
+ [ -z ]
+ grep -m1 wait [0-9]* seconds /var/tmp/fritzload1/dl.response.htm
+ sed -e s/.*wait *\([0-9][0-9]*\).*/\1/
+ seconds=
+ [ -n -o -n ]
+ return 1
+ [ 1 -eq 2 ]
+ sed -n s/[^:]*:\([^,]*\),\([^,]*\),\([^.]*\),.*/X_server=\"\1\";X_dlauth="\2\";X_waittime=\"\3\"/p /var/tmp/fritzload1/dl.response.htm
+ eval X_server="rs642l32.rapidshare.com";X_dlauth="A1E0940E0A8C5F44002D6012723FE515417178B7EA4625C6E41FBF2D91D085A06ADB2FEB152952591C96ABAF97EC9C43615FF34148D43FDC0DC30930C5DDCD09B74D9C493E13B32443481DB5B899B9EA874CF83BA62F2C7DE8FD5D0C6BA11A4617302495F53A270A31CCD094C998810D";X_waittime="77"
+ X_server=rs642l32.rapidshare.com
+ X_dlauth=A1E0940E0A8C5F44002D6012723FE515417178B7EA4625C6E41FBF2D91D085A06ADB2FEB152952591C96ABAF97EC9C43615FF34148D43FDC0DC30930C5DDCD09B74D9C493E13B32443481DB5B899B9EA874CF83BA62F2C7DE8FD5D0C6BA11A4617302495F53A270A31CCD094C998810D
+ X_waittime=77
+ waiting 77 0 300
+ local seconds=77 minutes=0 waitmax=300 curl_msg= reconnectAllowed=0
+ seconds 77 0
+ local seconds=77 minutes=0
+ [ -n ]
+ [ -n ]
+ echo -n 77
+ seconds=77
+ minutes 77
+ local seconds=77
+ echo -n 1
+ minutes=1
+ local secRest=17
+ print Warte 1 Minuten und 17 Sekunden
+ curl_msg_update
+ messageCount=6
+ [ 6 -ge 100 ]
+ echo -n 6
+ date +%H:%M:%S
+ echo 22:27:36 Warte 1 Minuten und 17 Sekunden
22:27:36 Warte 1 Minuten und 17 Sekunden
+ [ 0 = 0 ]
+ return
+ curl_msg_wait 77
+ local seconds=77 msg= type=dl space=
+ [ -n ]
+ [ -n http://rapidshare.com/files/290951250/SATCDF-S.part01.rar ]
+ msg=<br>File: http://rapidshare.com/files/290951250/SATCDF-S.part01.rar
+ curl_msg rapidshare_com-free: Warte 77 Sekunden<br>File: http://rapidshare.com/files/290951250/SATCDF-S.part01.rar
+ local message=rapidshare_com-free: Warte 77 Sekunden<br>File: http://rapidshare.com/files/290951250/SATCDF-S.part01.rar type=dl
+ rm -f /var/tmp/fritzload1/dl.progress.msg
+ echo -n rapidshare_com-free: Warte 77 Sekunden<br>File: http://rapidshare.com/files/290951250/SATCDF-S.part01.rar
+ date +%s
+ echo -n 1286051333
+ date +%s
+ waitReconnectTime=1286051333
+ reconnectEnabled 0 1
+ local forceReconnect=0 showMsg=1
+ [ -f /var/media/ftp/Generic-USBSDReader-01/FritzLoad/bin/../tmp/reconnect.disabled.timer ]
+ [ 0 = 1 ]
+ [ 1 = 0 ]
+ [ 0 = 0 ]
+ [ -f /var/media/ftp/Generic-USBSDReader-01/FritzLoad/bin/../tmp/signal.reconnect.disabled ]
+ [ -f /var/media/ftp/Generic-USBSDReader-01/FritzLoad/bin/../tmp/signal.reconnect.disabled.upload ]
+ [ 0 = 0 ]
+ inTime
+ date +%H%M
+ local from= till= timech=2227
+ echo -n
+ tr -d :;,.
+ from=
+ echo -n
+ tr -d :;,.
+ till=
+ [ -z -o -z ]
+ return 1
+ local i=-1 reconnectAllowed=1
+ ps w
+ grep -v grep
+ grep fritzload.sh
+ [ -1 -lt 4 ]
+ i=0
+ [ 0 = 1 ]
+ grep -c fritzload.sh i0\ /var/tmp/fritzload1/ps.chk
+ [ 0 -ne 0 -a ! -f /var/media/ftp/Generic-USBSDReader-01/FritzLoad/bin/../tmp/signal.reconnect0.now ]
+ [ 0 -lt 4 ]
+ i=1
+ [ 1 = 1 ]
+ continue
+ [ 1 -lt 4 ]
+ i=2
+ [ 2 = 1 ]
+ grep -c fritzload.sh i2\ /var/tmp/fritzload1/ps.chk
+ [ 0 -ne 0 -a ! -f /var/media/ftp/Generic-USBSDReader-01/FritzLoad/bin/../tmp/signal.reconnect2.now ]
+ [ 2 -lt 4 ]
+ i=3
+ [ 3 = 1 ]
+ grep -c fritzload.sh i3\ /var/tmp/fritzload1/ps.chk
+ [ 0 -ne 0 -a ! -f /var/media/ftp/Generic-USBSDReader-01/FritzLoad/bin/../tmp/signal.reconnect3.now ]
+ [ 3 -lt 4 ]
+ i=4
+ [ 4 = 1 ]
+ grep -c fritzload.sh i4\ /var/tmp/fritzload1/ps.chk
+ [ 0 -ne 0 -a ! -f /var/media/ftp/Generic-USBSDReader-01/FritzLoad/bin/../tmp/signal.reconnect4.now ]
+ [ 4 -lt 4 ]
+ rm -f /var/tmp/fritzload1/ps.chk
+ [ 1 = 0 ]
+ return 0
+ reconnectAllowed=1
+ [ 77 = 0 ]
+ [ 300 = 0 ]
+ [ 77 -gt 300 ]
+ reconnectAllowed=0
+ acceptReconnect 1 1286051333
+ [ 1 = 1 ]
+ acceptReconnect=1
+ rm -f /var/media/ftp/Generic-USBSDReader-01/FritzLoad/bin/../tmp/signal.reconnect1.done
+ echo -n 1286051333
+ return 0
+ date +%s
+ local cur=1286051256
+ local end=1286051333
+ local skip=1286050733
+ true
+ date +%s
+ cur=1286051256
+ local s=77
+ [ 77 -le 0 ]
+ [ 77 -gt 10 ]
+ s=10
+ sleep 10
+ [ 1286051256 -le 1286050733 ]
+ reconnect_done
+ [ -e /var/media/ftp/Generic-USBSDReader-01/FritzLoad/bin/../tmp/signal.reconnect1.done ]
+ return 1
+ true
+ date +%s
+ cur=1286051266
+ local s=67
+ [ 67 -le 0 ]
+ [ 67 -gt 10 ]
+ s=10
+ sleep 10
+ [ 1286051266 -le 1286050733 ]
+ reconnect_done
+ [ -e /var/media/ftp/Generic-USBSDReader-01/FritzLoad/bin/../tmp/signal.reconnect1.done ]
+ return 1
+ true
+ date +%s
+ cur=1286051276
+ local s=57
+ [ 57 -le 0 ]
+ [ 57 -gt 10 ]
+ s=10
+ sleep 10
+ [ 1286051276 -le 1286050733 ]
+ reconnect_done
+ [ -e /var/media/ftp/Generic-USBSDReader-01/FritzLoad/bin/../tmp/signal.reconnect1.done ]
+ return 1
+ true
+ date +%s
+ cur=1286051286
+ local s=47
+ [ 47 -le 0 ]
+ [ 47 -gt 10 ]
+ s=10
+ sleep 10
+ [ 1286051286 -le 1286050733 ]
+ reconnect_done
+ [ -e /var/media/ftp/Generic-USBSDReader-01/FritzLoad/bin/../tmp/signal.reconnect1.done ]
+ return 1
+ true
+ date +%s
+ cur=1286051296
+ local s=37
+ [ 37 -le 0 ]
+ [ 37 -gt 10 ]
+ s=10
+ sleep 10
+ [ 1286051296 -le 1286050733 ]
+ reconnect_done
+ [ -e /var/media/ftp/Generic-USBSDReader-01/FritzLoad/bin/../tmp/signal.reconnect1.done ]
+ return 1
+ true
+ date +%s
+ cur=1286051306
+ local s=27
+ [ 27 -le 0 ]
+ [ 27 -gt 10 ]
+ s=10
+ sleep 10
+ [ 1286051306 -le 1286050733 ]
+ reconnect_done
+ [ -e /var/media/ftp/Generic-USBSDReader-01/FritzLoad/bin/../tmp/signal.reconnect1.done ]
+ return 1
+ true
+ date +%s
+ cur=1286051316
+ local s=17
+ [ 17 -le 0 ]
+ [ 17 -gt 10 ]
+ s=10
+ sleep 10
+ [ 1286051316 -le 1286050733 ]
+ reconnect_done
+ [ -e /var/media/ftp/Generic-USBSDReader-01/FritzLoad/bin/../tmp/signal.reconnect1.done ]
+ return 1
+ true
+ date +%s
+ cur=1286051326
+ local s=7
+ [ 7 -le 0 ]
+ [ 7 -gt 10 ]
+ sleep 7
+ [ 1286051326 -le 1286050733 ]
+ reconnect_done
+ [ -e /var/media/ftp/Generic-USBSDReader-01/FritzLoad/bin/../tmp/signal.reconnect1.done ]
+ return 1
+ true
+ date +%s
+ cur=1286051333
+ local s=0
+ [ 0 -le 0 ]
+ break
+ acceptReconnect 0
+ [ 0 = 1 ]
+ [ 1 = 1 ]
+ acceptReconnect=0
+ rm -f /var/media/ftp/Generic-USBSDReader-01/FritzLoad/bin/../tmp/signal.reconnect1.now /var/media/ftp/Generic-USBSDReader-01/FritzLoad/bin/../tmp/signal.reconnect1.done
+ return 0
+ return 0
+ dl_url=http://rs642l32.rapidshare.com/cgi-bin/rsapi.cgi?sub=download_v1&editparentlocation=1&bin=1&fileid=290951250&filename=SATCDF-S.part01.rar&dlauth=A1E0940E0A8C5F44002D6012723FE515417178B7EA4625C6E41FBF2D91D085A06ADB2FEB152952591C96ABAF97EC9C43615FF34148D43FDC0DC30930C5DDCD09B74D9C493E13B32443481DB5B899B9EA874CF83BA62F2C7DE8FD5D0C6BA11A4617302495F53A270A31CCD094C998810D
+ _rapidshare_download http://rs642l32.rapidshare.com/cgi-bin/rsapi.cgi?sub=download_v1&editparentlocation=1&bin=1&fileid=290951250&filename=SATCDF-S.part01.rar&dlauth=A1E0940E0A8C5F44002D6012723FE515417178B7EA4625C6E41FBF2D91D085A06ADB2FEB152952591C96ABAF97EC9C43615FF34148D43FDC0DC30930C5DDCD09B74D9C493E13B32443481DB5B899B9EA874CF83BA62F2C7DE8FD5D0C6BA11A4617302495F53A270A31CCD094C998810D SATCDF-S.part01.rar
+ local url=http://rs642l32.rapidshare.com/cgi-bin/rsapi.cgi?sub=download_v1&editparentlocation=1&bin=1&fileid=290951250&filename=SATCDF-S.part01.rar&dlauth=A1E0940E0A8C5F44002D6012723FE515417178B7EA4625C6E41FBF2D91D085A06ADB2FEB152952591C96ABAF97EC9C43615FF34148D43FDC0DC30930C5DDCD09B74D9C493E13B32443481DB5B899B9EA874CF83BA62F2C7DE8FD5D0C6BA11A4617302495F53A270A31CCD094C998810D file=SATCDF-S.part01.rar opt=
+ download http://rs642l32.rapidshare.com/cgi-bin/rsapi.cgi?sub=download_v1&editparentlocation=1&bin=1&fileid=290951250&filename=SATCDF-S.part01.rar&dlauth=A1E0940E0A8C5F44002D6012723FE515417178B7EA4625C6E41FBF2D91D085A06ADB2FEB152952591C96ABAF97EC9C43615FF34148D43FDC0DC30930C5DDCD09B74D9C493E13B32443481DB5B899B9EA874CF83BA62F2C7DE8FD5D0C6BA11A4617302495F53A270A31CCD094C998810D SATCDF-S.part01.rar
+ /var/media/ftp/Generic-USBSDReader-01/FritzLoad/bin/../bin/7390/busybox basename SATCDF-S.part01.rar
+ local url=http://rs642l32.rapidshare.com/cgi-bin/rsapi.cgi?sub=download_v1&editparentlocation=1&bin=1&fileid=290951250&filename=SATCDF-S.part01.rar&dlauth=A1E0940E0A8C5F44002D6012723FE515417178B7EA4625C6E41FBF2D91D085A06ADB2FEB152952591C96ABAF97EC9C43615FF34148D43FDC0DC30930C5DDCD09B74D9C493E13B32443481DB5B899B9EA874CF83BA62F2C7DE8FD5D0C6BA11A4617302495F53A270A31CCD094C998810D bname=SATCDF-S.part01.rar options= chkFileSize= forceFileName=0
+ local failedContentHeader=.*\(text\).* h_file h_file_header h_size h_type filepath logbar
+ filename SATCDF-S.part01.rar
+ echo -n SATCDF-S.part01.rar
+ tr -c A-Za-z0-9_#\/\-\. _
+ filename=SATCDF-S.part01.rar
+ cleanup
+ local type=dl
+ [ 1 = 0 ]
+ local tempdir= storedir=
+ [ -z SATCDF-S.part01.rar ]
+ tempdir=/var/fritzload/downloads/tmp
+ storedir=/var/fritzload/downloads
+ mkdir -pm 0777 /var/fritzload/downloads/tmp
+ alreadyLoaded /var/fritzload/downloads/SATCDF-S.part01.rar
+ [ 0 = 1 ]
+ local filename=/var/fritzload/downloads/SATCDF-S.part01.rar storedir
+ [ -z ]
+ storedir=/var/fritzload/downloads
+ filename=SATCDF-S.part01.rar
+ [ -f /var/fritzload/downloads/SATCDF-S.part01.rar ]
+ return 1
+ [ = - ]
+ [ = - ]
+ [ .*\(text\).* = - ]
+ download_limit
+ check_free_diskspace /var/fritzload/downloads 200
+ local dir=/var/fritzload/downloads minfree=200 free=
+ [ 200 = 0 ]
+ [ -d /var/fritzload/downloads ]
+ msg=0
+ true
+ free_diskspace /var/fritzload/downloads
+ /var/media/ftp/Generic-USBSDReader-01/FritzLoad/bin/../bin/7390/busybox df -m /var/fritzload/downloads
+ grep -A 1 ^/
+ sed -n :a;$!N;$!ba;s/\n */ /g;p
+ sed -n s,[^/]*[^ ]* *[0-9]* *[0-9]* *\([0-9]*\) .*,\1,p
+ tr -d \n\r
+ free=7648
+ [ -n 7648 ]
+ [ 0 = 0 ]
+ echo Freier Speicher auf /var/fritzload/downloads: 7648 Mbyte
Freier Speicher auf /var/fritzload/downloads: 7648 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 ]
+ [ 7648 -lt 200 ]
+ break
+ limit_bandwidth
+ [ 0 = 1 ]
+ dllimit=1000000k
+ ullimit=1000000k
+ echo URL-Download (T:1/R:5): http://rs642l32.rapidshare.com/cgi-bin/rsapi.cgi?sub=download_v1&editparentlocation=1&bin=1&fileid=290951250&filename=SATCDF-S.part01.rar&dlauth=A1E0940E0A8C5F44002D6012723FE515417178B7EA4625C6E41FBF2D91D085A06ADB2FEB152952591C96ABAF97EC9C43615FF34148D43FDC0DC30930C5DDCD09B74D9C493E13B32443481DB5B899B9EA874CF83BA62F2C7DE8FD5D0C6BA11A4617302495F53A270A31CCD094C998810D (File: SATCDF-S.part01.rar)
URL-Download (T:1/R:5): http://rs642l32.rapidshare.com/cgi-bin/rsapi.cgi?sub=download_v1&editparentlocation=1&bin=1&fileid=290951250&filename=SATCDF-S.part01.rar&dlauth=A1E0940E0A8C5F44002D6012723FE515417178B7EA4625C6E41FBF2D91D085A06ADB2FEB152952591C96ABAF97EC9C43615FF34148D43FDC0DC30930C5DDCD09B74D9C493E13B32443481DB5B899B9EA874CF83BA62F2C7DE8FD5D0C6BA11A4617302495F53A270A31CCD094C998810D (File: SATCDF-S.part01.rar)
+ echo -n rapidshare_com-free: SATCDF-S.part01.rar
+ curl_msg_update
+ messageCount=7
+ [ 7 -ge 100 ]
+ echo -n 7
+ local storeFile=/var/fritzload/downloads/tmp/SATCDF-S.part01.rar.part
+ [ 0 = 1 ]
+ /var/media/ftp/Generic-USBSDReader-01/FritzLoad/bin/../bin/7390/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 --dump-header /var/tmp/fritzload1/dl.head --output /var/fritzload/downloads/tmp/SATCDF-S.part01.rar.part http://rs642l32.rapidshare.com/cgi-bin/rsapi.cgi?sub=download_v1&editparentlocation=1&bin=1&fileid=290951250&filename=SATCDF-S.part01.rar&dlauth=A1E0940E0A8C5F44002D6012723FE515417178B7EA4625C6E41FBF2D91D085A06ADB2FEB152952591C96ABAF97EC9C43615FF34148D43FDC0DC30930C5DDCD09B74D9C493E13B32443481DB5B899B9EA874CF83BA62F2C7DE8FD5D0C6BA11A4617302495F53A270A31CCD094C998810D --globoff --write-out %{http_code}