Difference between revisions of "Shell Commands/OFHTTP"
From MorphOS Library
(Created page with "'''OFHTTP''' - Performs HTTP and HTTPS requests and downloads files non-standard arguments, type "OFHTTP -h" for more information...") |
m |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
'''OFHTTP''' - Performs HTTP and HTTPS requests and downloads files | '''OFHTTP''' - Performs HTTP and HTTPS requests and downloads files | ||
| − | + | This command uses non-standard arguments. Type 'OFHTTP -h' in a Shell for a complete documentation of its arguments. | |
| − | + | ||
| − | This command uses non-standard arguments. | + | <nowiki>Usage: ofhttp -[cehHmoOPqv] iri1 [iri2 ...] |
| − | Type 'OFHTTP -h' in a Shell for a complete documentation of its arguments. | + | |
| + | Options: | ||
| + | -b --body= Specify the file to send as body | ||
| + | (- for standard input) | ||
| + | -c --continue Continue download of existing file | ||
| + | -f --force Force / overwrite existing file | ||
| + | -h --help Show this help | ||
| + | -H --header= Add a header (e.g. X-Foo:Bar) | ||
| + | -m --method= Set the method of the HTTP request | ||
| + | -o --output= Specify output file name | ||
| + | -O --detect-filename Do a HEAD request to detect the file name | ||
| + | -P --proxy= Specify SOCKS5 proxy | ||
| + | -q --quiet Quiet mode (no output, except errors) | ||
| + | -v --verbose Verbose mode (print headers) | ||
| + | --insecure Ignore TLS errors and allow insecure redirects | ||
| + | --ignore-status Ignore HTTP status code | ||
| + | --version Show version information</nowiki> | ||
| + | |||
| + | Example: | ||
| + | OFHTTP https://morphos-team.net/morphos-3.20.iso | ||
Latest revision as of 13:32, 29 June 2026
OFHTTP - Performs HTTP and HTTPS requests and downloads files
This command uses non-standard arguments. Type 'OFHTTP -h' in a Shell for a complete documentation of its arguments.
Usage: ofhttp -[cehHmoOPqv] iri1 [iri2 ...]
Options:
-b --body= Specify the file to send as body
(- for standard input)
-c --continue Continue download of existing file
-f --force Force / overwrite existing file
-h --help Show this help
-H --header= Add a header (e.g. X-Foo:Bar)
-m --method= Set the method of the HTTP request
-o --output= Specify output file name
-O --detect-filename Do a HEAD request to detect the file name
-P --proxy= Specify SOCKS5 proxy
-q --quiet Quiet mode (no output, except errors)
-v --verbose Verbose mode (print headers)
--insecure Ignore TLS errors and allow insecure redirects
--ignore-status Ignore HTTP status code
--version Show version information
Example:
OFHTTP https://morphos-team.net/morphos-3.20.iso