upload

<< Click to Display Table of Contents >>

RayVentory Scan Engine > 12.6 u4 > User Guide > Inventory Agent > Commands 

upload

The upload command will attempt to upload all files from Inventory Agent results directory to one of the result destinations.

 

Add a destination URL by adding a line for the setting resultUploadDestination to the configuration file. You can use the settings resultUploadUser and resultUploadPassword to specify credentials for basic authentication during upload. See command encrypt for more details.

 

finger1

Be aware:

Ensure that the value for resultUploadDestination ends on a slash (/) as RVIA simply concatenates this value with the destination filename to generate the URL for the individual file upload. This behavior is intentional as it allows to prefix each uploaded file.
Example:

resultUploadDestination=http://myhost:591/

Example with prefix:

resultUploadDestination=http://myhost:591/myprefix

This will produce files on the RVSE host that start with "myprefix".

 

You can specify a proxy (including credentials) by the setting resultUploadProxyURL for the upload.

 

Example:

resultUploadProxyURL=https://proxyUser:proxyUserPassword@172.16.1.1:8080/

 

To pass additional arguments to curl for upload, use the setting resultUploadCurlArgs.

 

papercliper

Note:

For large numbers of Inventory Agent instances, you should use configDownloadMaxDelay to delay individual downloads to a maximum of the specified number of seconds. That will spread the network load over the time domain.