% TRANSFER(1) Version 3.0.3 | Scripts Documentation % Georg Voell - georg.voell@oracle.com % (c)2020 Oracle NAME ==== **transfer** - (BASH Script) Get a resource from a host (or internet) via curl and check if an error occured. SYNOPSIS ======== | **transfer** \[_options_] _url_ DESCRIPTION =========== Get a resource from a host (or internet) via curl and check if an error occured. Options ------- -h, \--help          : Displays helptext. -v, \--version          : Displays the version of the script. -q, \--quiet          : Don't display any error messages. -s, \--seconds _number_          : Max _number_ of seconds for the operation to take (default is 10). -o, \--output _filename_         : Write output to file "_filename_". URL ------- URL can be specified with or without leading "http://". EXAMPLES ======== **transfer** http://cloud.voell.de/csm/SSH.pdf -o SSH.pdf : Downloads SSH.pdf from server. EXIT CODES ========== 01: Unknown or wrong parameter. 02: **curl** not found. This script needs **curl** to perform. 03: Application error. 04: HTML error. 05: JSON error. 06: No internet connection or URL not found. 07: Error while creating output file. 99: User interrupt. SEE ALSO ======== **install-scripts**(1)