ndupload Command Line

IT Asset Management (Cloud)
The uploader runs on managed devices and inventory beacons. It allows you to transfer event logs, inventories and other files from managed devices to FTP or local file servers.
Tip: Only HTTP and HTTPS protocols are supported by inventory beacons. File and FTP protocols are available for alternative upload arrangements.

The uploader can transfer any file to a specified URL. If an FTP URL is supplied, then a username and password must also be given.

The uploader deletes files from managed devices after they have been successfully uploaded. Files are not removed if the upload fails.

The file path supplied to the uploader can contain wildcards, so that multiple files of a similar type can be uploaded with a single command.

Synopsis

ndupload.exe [options...]

Options:

-a
-f path\and\filename.ext
-o tag = value

Type Value Description
-a   This is the same as -o UploadRule and means “upload all file types”. If you run ndupload with no command line parameters, this is the default behavior.
-f path\and\filename.ext Identifies the file to upload. This is the same as -o SourceFile.
-o tag=value Each instance over-rides the specified preference for the uploader. Each parameter set at the command line must be accompanied by its own -o flag. Do not repeat any individual tag within the command line. Possible tags are listed below.

Return codes

The uploader returns a zero on success. If you receive a non-zero return code, check the log file. Details of the log file may also be configured with command-line options, as described in the section on Preferences:

Command line examples

The following command uploads the file file.txt to the FTP location ftp://server/dir1/dir2 using the login name user1 and the password abc123:
ndupload -f file.txt -o UploadLocation=ftp://server/dir1/dir2
-o UploadUser=user1 -o UploadPassword=abc123
The following command uploads the file file.txt to the mapped drive f:/dir1/dir2:
ndupload -f file.txt -o UploadLocation=file:///f:/dir1/dir2
This example uploads the inventory file myInventory.ndi to an inventory beacon (where ManageSoftRL is the name of a web service on the inventory beacon that receives the uploaded inventory and saves it by default to %CommonAppData%\Flexera Software\Incoming\Inventories):
ndupload -f myInventory.ndi -o UploadLocation="http://InventoryBeacon/ManageSoftRL"

Options

Tip: Although the Network* preferences remain available for special circumstances, network throttling for package downloads is not normally required. For details, see the discussion under NetworkSpeed.
Possible tags for use with the -o options are:

IT Asset Management (Cloud)

Current