If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.

0
U

Property:webget

From BoxMatrix


BoxMatrix >> Shell-Commands >> webget @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Media

Startup-Scr Hotplug-Scr BusyBox-Cmds Bash-Cmds AVM-Cmds Chipset-Cmds Linux-Cmds Shared-Libs Kernel-Mods Research

AVM-Command

Goto:   Examples  -  Source  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

webget is a new universal downloader similar to wget. It is an extended successor of httpsdl and replaces it.
httpsdl filled the gap of wget of busybox lacking support for HTTPS.

The main advantage of webget over httpsdl is the support for OAuth 2.0, which is required for AVM-Cloud downloads,

webget is used by assetsd, fwupdate, libfwupdate.so, dect_manager, libdectule.so and the helper scripts
start_dect_update.sh, dect_doorline_image_conversion.sh, dect_ringtone_conversion.sh and gettfepic.sh

fw 7.90 help:

root@fritz:/var/mod/root# webget -?

usage: webget [options]

options:
  -?                 - print this help
  -O STRING          - Output file (- for stdout). ("-")
  -u STRING          - Authentication username. (NULL)
  -s STRING          - Authentication password. (NULL)
  -y STRING          - Authentication token_type. (NULL)
  -a STRING          - Authentication access_token. (NULL)
  -U STRING          - Upload file to given URL (- for stdin) (HTTP PUT is used). (NULL)
  -T                 - Use TR-069 traffic class and TR-069 config TLS parameters as default. (NOTSET)
  -v                 - TLS: Verify certificate of TLS server. (NOTSET)
  -c STRING          - TLS: Own TLS certificate file (incl. private key). (NULL)
  -p STRING          - TLS: Password for own TLS certificate private key. (NULL)
  -t STRING          - TLS: Trusted TLS server certificate. (NULL)
  -n                 - TLS: Do not check the Common Name (CN) or Subject Alternative Name(s) (SAN). (NOTSET)
  -V                 - Verbose (show reply statusline and header). (NOTSET)
  -I                 - Perform HEAD request only. (NOTSET)
  -w INTEGER         - Read timeout in seconds. (200)
  -o                 - Use HTTP version 1.0 instead of 1.1. (NOTSET)
  -m INTEGER         - Max. connect time in seconds. (0)
  -D STRING          - switch debug logs on. (FUNC)

webget <url>

Examples

From start_dect_update.sh fw 7.90:

webget -O ${DECT_INFO_FILE} "${infourl}"

From dect_doorline_image_conversion.sh fw 7.90:

webget "${in}" -O - | dd bs=1024 count="${MAX_DOWNLOAD_SIZE}" of="${tmp_img}"

From dect_ringtone_conversion.sh fw 7.90:

webget -m 15 -w 15 "${in}" -O - | dd bs=1024 count="${MAX_DOWNLOAD_SIZE}" of="${LOCAL_DOWNLOAD_NAME}"

From gettfepic.sh fw 7.90:

webget -m 10 -w 10 -n "${in}" | dd bs=1024 count="${MAX_DOWNLOAD_SIZE}" of="${out}"
webget -m 10 -w 10 -n "${in}" -u "${user}" -s "${pass}" | dd bs=1024 count="${MAX_DOWNLOAD_SIZE}" of="${out}"

Source

The names of source files compiled into an executable often help to understand function blocks (and show gaps in the docs).
fw 7.90 source files:

$ strings /usr/bin/webget | grep -e '\.c$' -e '\.cpp$'

ar7/webget/webget.cpp  

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-04-28 07:29 GMT.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.

Relation Typ Object Mod Firmware Info Origin
Depends on lib ld.so 3 7.90 Dynamic linker / loader Linux
Depends on lib libar7cfg.so 12 7.90 TFFS-Configuration API to ar7.cfg and many more. AVM
Depends on lib libavmauth.so 12 7.90 Fritzbox authentification helpers AVM
Depends on lib libavmcipher.so 12 7.90 AES / DES / Rijndael encryption / decryption. AVM
Depends on lib libavmcsock.so 12 7.90 Networking, I/O and helper functions AVM
Depends on lib libavmfbstate.so 12 7.90 IPC fritzbox state notification AVM
Depends on lib libavmhmac.so 12 7.90 HMAC / SHA / MD5 hashing. AVM
Depends on lib libavmwdt.so 12 7.90 AVM-Watchdogs management API AVM
Depends on lib libboxenv.so 12 7.90 API to the rc.conf enhanced Config-Environment AVM
Depends on lib libboxlib.so 12 7.90 Box status, logging and statistics functions AVM
Depends on lib libc.so 12 7.90 Standard C library Linux
Depends on lib libcore.so 12 7.90 Collects the MAC addresses of the device it's running on AVM
Depends on lib libcrypto.so 12 7.90 OpenSSL general crypto and X.509 library Linux
Depends on lib libdl.so 7 7.90 Dynamic linking library Linux
Depends on lib libdputil.so 12 7.90 DataPipe / packet utilities AVM
Depends on lib libewnwjson.so 12 7.90 JSON helper functions AVM
Depends on lib libewnwlinux.so 12 7.90 Linux networking functions AVM
Depends on lib libewnwnet.so 12 7.90 Internet helper functions AVM
Depends on lib libfbconf.so 12 7.90 API to hardcoded fbconf.cfg AVM
Depends on lib libgcc_s.so 12 7.90 GCC low-level runtime library Linux
Depends on lib libjuisclient.so 12 7.90 Update-Search - second generation - JUIS AVM
Depends on lib liblocalize.so 12 7.90 Charset conversion helper functions AVM
Depends on lib libm.so 7 7.90 C math library Linux
Depends on lib liboauth2.so 12 7.90 OAuth v2.0 authentificator Linux
Depends on lib libpthread.so 7 7.90 POSIX threading library Linux
Depends on lib librt.so 7 7.90 POSIX realtime extensions library Linux
Depends on lib libslab_c++.so 12 7.90 C++ slab allocator AVM
Depends on lib libstdc++.so 12 7.90 GNU C++ library Linux
Depends on lib libsvctl.so 12 7.90 supervisor notification library AVM
Depends on lib libtiinterpreter.so 12 7.90 Preprocessor for SSI-Files by TI. AVM
Depends on lib libwebkpiclient.so 12 7.90 KPI sensor for system parts which use HTTP / HTTPS AVM
Depends on lib libwebsrv.so 12 7.90 HTTP / HTTPS webserver and tools. AVM
Depends on lib libyajl.so 12 7.90 Event-driven JSON parser Linux
Depends on lib libz.so 12 7.90 Zlib compressor / decompressor Linux
34 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2024-04-28 05:07 GMT.
Showing all models using this command. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom) label in the Model column shows which CPU is meant for models with multiple Linux instances.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.

Model Firmware Path Size
FRITZ!Box 5590 Fiber (arm) 7.90 /usr/bin 21.8k
FRITZ!Box 6591 Cable (arm) 7.90 /usr/bin 25.7k
FRITZ!Box 6591 Cable (atom) 7.90 /usr/bin 25.7k
FRITZ!Box 6660 Cable (arm) 7.90 /usr/bin 25.7k
FRITZ!Box 6660 Cable (atom) 7.90 /usr/bin 25.7k
FRITZ!Box 6690 Cable (arm) 7.90 /usr/bin 25.7k
FRITZ!Box 6690 Cable (atom) 7.90 /usr/bin 25.7k
FRITZ!Box 6850 LTE 7.90 /usr/bin 21.8k
FRITZ!Box 6850 5G 7.90 /usr/bin 21.8k
FRITZ!Box 7530 AX 7.90 /usr/bin 21.8k
FRITZ!Box 7590 7.90 /usr/bin 23.2k - 23.3k
FRITZ!Box 7590 AX 7.90 /usr/bin 23.2k - 23.3k
12 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-04-28 07:29 GMT.

Firmware Symbol
7.90 main
1 symbol for this command

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

w