-
04. 07. 2008, 20:29 #201
Re: Fritz!Load: RS-Download mit Fritz!Box ohne PC
curl gibt es als binary für die Box. Habs hier fertig kompiliert rumfliegen.
Code:# ./curl --help Usage: curl [options...] <url> Options: (H) means HTTP/HTTPS only, (F) means FTP only -a/--append Append to target file when uploading (F) -A/--user-agent <string> User-Agent to send to server (H) --anyauth Pick "any" authentication method (H) -b/--cookie <name=string/file> Cookie string or file to read cookies from (H) --basic Use HTTP Basic Authentication (H) -B/--use-ascii Use ASCII/text transfer -c/--cookie-jar <file> Write cookies to this file after operation (H) -C/--continue-at <offset> Resumed transfer offset -d/--data <data> HTTP POST data (H) --data-ascii <data> HTTP POST ASCII data (H) --data-binary <data> HTTP POST binary data (H) --negotiate Use HTTP Negotiate Authentication (H) --digest Use HTTP Digest Authentication (H) --disable-eprt Inhibit using EPRT or LPRT (F) --disable-epsv Inhibit using EPSV (F) -D/--dump-header <file> Write the headers to this file --egd-file <file> EGD socket path for random data (SSL) --tcp-nodelay Use the TCP_NODELAY option -e/--referer Referer URL (H) -E/--cert <cert[:passwd]> Client certificate file and password (SSL) --cert-type <type> Certificate file type (DER/PEM/ENG) (SSL) --key <key> Private key file name (SSL/SSH) --key-type <type> Private key file type (DER/PEM/ENG) (SSL) --pass <pass> Pass phrase for the private key (SSL/SSH) --pubkey <key> Public key file name (SSH) --engine <eng> Crypto engine to use (SSL). "--engine list" for list --cacert <file> CA certificate to verify peer against (SSL) --capath <directory> CA directory (made using c_rehash) to verify peer against (SSL) --ciphers <list> SSL ciphers to use (SSL) --compressed Request compressed response (using deflate or gzip) --connect-timeout <seconds> Maximum time allowed for connection --create-dirs Create necessary local directory hierarchy --crlf Convert LF to CRLF in upload -f/--fail Fail silently (no output at all) on HTTP errors (H) --ftp-account <data> Account data to send when requested by server (F) --ftp-alternative-to-user String to replace "USER [name]" (F) --ftp-create-dirs Create the remote dirs if not present (F) --ftp-method [multicwd/nocwd/singlecwd] Control CWD usage (F) --ftp-pasv Use PASV/EPSV instead of PORT (F) --ftp-skip-pasv-ip Skip the IP address for PASV (F) --ftp-ssl Try SSL/TLS for ftp transfer (F) --ftp-ssl-control Require SSL/TLS for ftp login, clear for transfer (F) --ftp-ssl-reqd Require SSL/TLS for ftp transfer (F) --ftp-ssl-ccc Send CCC after authenticating (F) --ftp-ssl-ccc-mode [active/passive] Set CCC mode (F) -F/--form <name=content> Specify HTTP multipart POST data (H) --form-string <name=string> Specify HTTP multipart POST data (H) -g/--globoff Disable URL sequences and ranges using {} and [] -G/--get Send the -d data with a HTTP GET (H) -h/--help This help text -H/--header <line> Custom header to pass to server (H) --ignore-content-length Ignore the HTTP Content-Length header -i/--include Include protocol headers in the output (H/F) -I/--head Show document info only -j/--junk-session-cookies Ignore session cookies read from file (H) --interface <interface> Specify network interface/address to use --krb <level> Enable kerberos with specified security level (F) -k/--insecure Allow connections to SSL sites without certs (H) -K/--config Specify which config file to read --libcurl <file> Dump libcurl equivalent code of this command line -l/--list-only List only names of an FTP directory (F) --limit-rate <rate> Limit transfer speed to this rate --local-port <num>[-num] Force use of these local port numbers -L/--location Follow Location: hints (H) --location-trusted Follow Location: and send authentication even to other hostnames (H) -m/--max-time <seconds> Maximum time allowed for the transfer --max-redirs <num> Maximum number of redirects allowed (H) --max-filesize <bytes> Maximum file size to download (H/F) -M/--manual Display the full manual -n/--netrc Must read .netrc for user name and password --netrc-optional Use either .netrc or URL; overrides -n --ntlm Use HTTP NTLM authentication (H) -N/--no-buffer Disable buffering of the output stream --no-sessionid Disable SSL session-ID reusing (SSL) -o/--output <file> Write output to <file> instead of stdout -O/--remote-name Write output to a file named as the remote file -p/--proxytunnel Operate through a HTTP proxy tunnel (using CONNECT) --proxy-anyauth Pick "any" proxy authentication method (H) --proxy-basic Use Basic authentication on the proxy (H) --proxy-digest Use Digest authentication on the proxy (H) --proxy-ntlm Use NTLM authentication on the proxy (H) -P/--ftp-port <address> Use PORT with address instead of PASV (F) -q If used as the first parameter disables .curlrc -Q/--quote <cmd> Send command(s) to server before file transfer (F/SFTP) -r/--range <range> Retrieve a byte range from a HTTP/1.1 or FTP server --random-file <file> File for reading random data from (SSL) --raw Pass HTTP "raw", without any transfer decoding (H) -R/--remote-time Set the remote file's time on the local output --retry <num> Retry request <num> times if transient problems occur --retry-delay <seconds> When retrying, wait this many seconds between each --retry-max-time <seconds> Retry only within this period -s/--silent Silent mode. Don't output anything -S/--show-error Show error. With -s, make curl show errors when they occur --socks4 <host[:port]> Use SOCKS4 proxy on given host + port --socks5 <host[:port]> Use SOCKS5 proxy on given host + port --stderr <file> Where to redirect stderr. - means stdout -t/--telnet-option <OPT=val> Set telnet option --trace <file> Write a debug trace to the given file --trace-ascii <file> Like --trace but without the hex output --trace-time Add time stamps to trace/verbose output -T/--upload-file <file> Transfer <file> to remote site --url <URL> Set URL to work with -u/--user <user[:password]> Set server user and password -U/--proxy-user <user[:password]> Set proxy user and password -v/--verbose Make the operation more talkative -V/--version Show version number and quit -w/--write-out [format] What to output after completion -x/--proxy <host[:port]> Use HTTP proxy on given port -X/--request <command> Specify request command to use -y/--speed-time Time needed to trig speed-limit abort. Defaults to 30 -Y/--speed-limit Stop transfer if below speed-limit for 'speed-time' secs -z/--time-cond <time> Transfer based on a time condition -0/--http1.0 Use HTTP 1.0 (H) -1/--tlsv1 Use TLSv1 (SSL) -2/--sslv2 Use SSLv2 (SSL) -3/--sslv3 Use SSLv3 (SSL) -4/--ipv4 Resolve name to IPv4 address -6/--ipv6 Resolve name to IPv6 address -#/--progress-bar Display transfer progress as a progress bar
-
04. 07. 2008, 22:21 #202DreigenDBXdeaktiviertes Benutzerkonto
Re: Fritz!Load: RS-Download mit Fritz!Box ohne PC
curl ist von vornerein nich dabei....nur wenn du es mit freetz oda so draufmachst...oder einfach wie wget dazulegen^^
Zitat von HirnToT96
und ne frage zum upload.to-fritzload: wie schnell ladet er den von upload.to?....also cl schafft es ja mit vollspeed und normal ises ja nur 60kbs oda so ...oder hat sich das geändert?
-
05. 07. 2008, 09:03 #203
Re: Fritz!Load: RS-Download mit Fritz!Box ohne PC
Ich würde mich mehr über eine GUI freuen als auf die verschidenen Hoster!
Ist den sowas machbar?
-
05. 07. 2008, 10:07 #204DreigenDBXdeaktiviertes Benutzerkonto
Re: Fritz!Load: RS-Download mit Fritz!Box ohne PC
ich hätte auch noch ne frage zu dem script mit upload.to und rs.com:
wenn man zb ne liste hat mit upload.to und rs.com links oda so, ises ja etwas umständlich....
und 2 befehle ist auch etwas umständlich (klar net das große problem)
es ließe sich doch leicht lösen, ca so:
Code:-l) if [ -n "$2" ]; then if [ -n $(sed ..blabla(rapidshare.com) ]; then listload $2 fi if [ -n $(sed ..blabla(uploaded.to)... ]; then uploadedload $2 fi helpmsg >&2 else helpmsg >&2 exit 1 fi ;;
-
05. 07. 2008, 11:00 #205
Re: Fritz!Load: RS-Download mit Fritz!Box ohne PC
@DreigenDBX:
Joa, das wäre ganz nett. Noch schöner wäre es, wenn bei jedem neuen Link entschieden würde, ob es Uploaded oder Rapidshare ist. Aber das Trum funktioniert ja erstmal.
-
05. 07. 2008, 11:06 #206Mitglied
- Registriert seit
- Jan 2008
- Beiträge
- 36
Re: Fritz!Load: RS-Download mit Fritz!Box ohne PC
hab es so gelöst dann kann mal alles in eine liste reinhauen wie man will und es ist noch erweiterbar....Code:ochostersort() { if echo $1 | grep "uploaded"; then uploaded $1 fi if echo $1 | grep "rapidshare";then rapidshare $1 fi } listload() { cat $1 | while read line; do ochostersort $line; done }
-
05. 07. 2008, 12:29 #207DreigenDBXdeaktiviertes Benutzerkonto
Re: Fritz!Load: RS-Download mit Fritz!Box ohne PC
oh ja stimmt...soltle auch mein ziel sein....frag mich net wieso ich es dort hingetan habe^^.....
nur musste noch die hilfe funktion drunterpacken, wenn keins von beiden im link ist....
-
05. 07. 2008, 13:51 #208
Re: Fritz!Load: RS-Download mit Fritz!Box ohne PC
könnt ihr die uploaded.to version mal hochladen
-
05. 07. 2008, 14:19 #209
Re: Fritz!Load: RS-Download mit Fritz!Box ohne PC
Vielen Dank an euch, läuft wunderbar!
-
05. 07. 2008, 14:42 #210
Re: Fritz!Load: RS-Download mit Fritz!Box ohne PC
Da ich mich noch nicht bedankt habe:
Danke!
Habe es lange nicht mehr benutzt, aber in diesem Fall, da RS für FreeUser zu langsam ist, kann es ruhig nebenbei laufen! (Den Unterschied von 60kb ist nicht wirklich bemerkbar, und ohne Reconnects störe ich keinen.
)
-
05. 07. 2008, 18:04 #211Fast Opa!
- Registriert seit
- Jul 2007
- Beiträge
- 742
Re: Fritz!Load: RS-Download mit Fritz!Box ohne PC
Auch ich bedanke mich für dieses geniale Tool!
Ich habe nur noch ein kleines Problem. Ich habe ein Speicherkartenlesegerät an die Fritz-Box gestöpselt. Den Test mit einer 64MB-CF Karte hat er bestanden.
Dann habe ich eine 2GB-SD Karte versucht, aber leider erkennt die Fritz Box diesen nicht als USB-Speicher. Die Speicherkarte ist genau wie die vorherige "FAT" formatiert.
Auch mit einer externen Festplatte funktioniert es wunderbar. Da ich aber Strom sparen will, soll es nach Möglichkeit mit auch mit der SD-Karte gehen. Ich möchte mir ungern eine größere CF-Karte kaufen, da ich eigentlich keine Verwendung mehr für dieses Format habe.
Enteiser
-
05. 07. 2008, 18:34 #212
Re: Fritz!Load: RS-Download mit Fritz!Box ohne PC
Mhh, taucht eine Meldung im Systemlog auf?
Öffne mal eine Telnet-Verbindung, sollte eine möglichst tty is "/dev/pts/0" sein, dann werden alle Meldungen ausgegeben, wenn das Telnet-Fenster offen ist, den Reader und dann die Karte einstöpseln.
Ansonsten, wie wäre es mit einen USB Stick? Kriegt man doch eh überall geschenkt, in diesem Jahr gabs doch mindestens 3 Paypal Gutscheine, was soll man denn außer einen USB Stick für 10 € schon kaufen?
-
05. 07. 2008, 18:38 #213
Re: Fritz!Load: RS-Download mit Fritz!Box ohne PC
bei mir geht die neue irgentwie nicht egal ob mit rs oder uploades.to
er versuch auf /tmp/getfile.txt zuzugreifen, hier ein screenshot
http://www.bilder-space.de/upload/GtSAdZlRmb7HHgi.PNG
-
05. 07. 2008, 18:39 #214
Re: Fritz!Load: RS-Download mit Fritz!Box ohne PC
mit "ls" kannst du dir das verzeichnis anzeigen lassen(wie "dir" bei DOS). Guck ob du im richtigen verzeichnis bist .
-
05. 07. 2008, 18:40 #215
Re: Fritz!Load: RS-Download mit Fritz!Box ohne PC
Hallo!
Ändere mit SuperEdi bitte das Temporaere Verzeichnis auf:
tmp=/var/tmp
-
05. 07. 2008, 18:59 #216Fast Opa!
- Registriert seit
- Jul 2007
- Beiträge
- 742
Re: Fritz!Load: RS-Download mit Fritz!Box ohne PC
Also im Webinterface passiert gar nichts, wenn ich das Lesegerät anstecke... egal ob die SD-Karte drin ist oder nicht.
Zitat von TomTomNavigator
Edit: aber im Log steht doch was! " USB-Gerät 006, Klasse 'storage', angesteckt"
tty is "/devs/pts/0" zeigt er bei mir auch
im verzeichnis var finden sich folgende einträge:
# cd var
# ls
TZ led
USB-proc-bus-usb-001-001-hub-001 lock
USB-proc-bus-usb-001-006-storage-006 log
config.def media
default post_install
devices run
dsld.autodetect samba
env sysfs
env.cache tmp
flash usbhostup
flash.html websrv_ssl_cert.pem
html[/QUOTE]
Ich deute mal den Inhalt dieses Verzeichnisses das er was erkannt hat.... Ich denke es wird nur nicht richtig eingebunden. Wie bekomme ich das hin? Ratlos!
Enteiser
-
05. 07. 2008, 19:25 #217
Re: Fritz!Load: RS-Download mit Fritz!Box ohne PC
ich nach der änderung nicht mehr auf die fritzload.sh zugreifen
Zitat von TomTomNavigator
-sh: ./fritzload.sh: not found
-
05. 07. 2008, 19:42 #218
Re: Fritz!Load: RS-Download mit Fritz!Box ohne PC
Hast du fritzload auch wirklich mit SuperEdi bearbeitet?
--> Download SuperEdi
@Enteiser:
Mhh, das ist immer etwas problematisch. Mal die SD Karte in ein anderes Dateisystem formatieren. Ext2 oder so. Oder es braucht doch einen Treiber für SD Karten, frag mich aber bitte nicht woher nehmen ^^ Am einfachsten fährst du sicherlich mit einem USB Stick...
-
05. 07. 2008, 19:48 #219Fast Opa!
- Registriert seit
- Jul 2007
- Beiträge
- 742
Re: Fritz!Load: RS-Download mit Fritz!Box ohne PC
Ich bin inzwischen ein kleines Stück weiter........
Jetzt hat der den Leser mit der SD-Karte erkannt und meckert:
Der USB-Massenspeicher 2 enthält kein unterstütztes Dateisystem oder hat eine ungültige Partitionstabelle. (Das Gerät hat den folgenden Typ: 07cc:0200)
Ich denke ich muss nochmal formatieren.... die Karte stammt übrigens aus meiner Casio-Digicam und wird unter XP mit dem gleichen Leser als FAT erkannt.
Enteiser
-
05. 07. 2008, 20:33 #220
Re: Fritz!Load: RS-Download mit Fritz!Box ohne PC
Hier ist die Version mit der Auto-Linkerkennung. Einfach alle Links in eine Textdatei, egal ob uploaded oder rapidshare, das Script macht das dann schon.
Aufruf:Link: Klick!
P/W: tomtom
Wie immer, erst mal schauen ob es anständig läuft, Fehler können immer drin sein.nohup ./fritzload.sh -l liste.txt &


Zitieren
(wenn es curl auf der box gibt)
mehr lesen...







"Wir können nichts dazu" -...
Gestern, 21:23 in gulli:news