FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
Wget agent is use to get files from FTP, FTPS, HTTP, HTTPS, GIT and SVN. It supports major flags of the GNU Wget.
There are 3 ways to use the wget_agent:
To download one file or one directory from the command line: example:
To download one file or one directory (one URL )from the scheduler: example:
To Import one file or one directory from the command line into repo: example:
Command line flag | Description |
---|---|
-h | Help (print this message), then exit |
-i | Initialize the DB connection then exit (nothing downloaded) |
-g group | Set the group on processed files (e.g., -g fossy) |
-G | Do NOT copy the file to the gold repository |
-d dir | Directory for downloaded file storage |
-k key | Upload key identifier (number) |
-A acclist | Specify comma-separated lists of file name suffixes or patterns to accept |
-R rejlist | Specify comma-separated lists of file name suffixes or patterns to reject |
-l depth | Specify recursion maximum depth level depth. The default maximum depth is 5 |
-c configdir | Specify the directory for the system configuration |
-C | Run from command line |
-v | Verbose (-vv = more verbose) |
-V | Print the version info, then exit |
OBJ | if a URL is listed, then it is retrieved |
if a file is listed, then it used | |
if OBJ and Key are provided, then it is inserted into | |
the DB and repository | |
no file | process data from the scheduler |