Difference between revisions of "Shell Commands/OFHTTP"

From MorphOS Library

< Shell Commands

m
 
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.                                    
+
This command uses non-standard arguments. Type 'OFHTTP -h' in a Shell for a complete documentation of its arguments.
Type 'OFHTTP -h' in a Shell for a complete documentation of its arguments.
 
  
 
  <nowiki>Usage: ofhttp -[cehHmoOPqv] iri1 [iri2 ...]
 
  <nowiki>Usage: ofhttp -[cehHmoOPqv] iri1 [iri2 ...]

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