Skip to main content

ndupload Command Line

FlexNet Manager Suite ()

The uploader runs on managed devices and inventory beacons. It allows you to transfer event logs, inventories and other files from managed devices to local file servers.

Tip: Only HTTP and HTTPS protocols are supported by inventory beacons.

The uploader can transfer any file to a specified URL.

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
-otag = value

| **`-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:

  • LogFile (upload component)
  • LogFileOld (upload component)
  • LogFileSize (upload component).

Command line examples

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:

  • AddClientCertificateAndKey (UNIX-like platforms only)
  • CheckCertificateRevocation
  • CheckServerCertificate
  • LogFile (upload component)
  • LogFileOld (upload component)
  • LogFileSize (upload component)
  • MaxKeepAliveLifetime
  • MaxKeepAliveRequests
  • NetworkHighSpeed
  • NetworkHighUsage
  • NetworkHighUsageLowerLimit
  • NetworkHighUsageUpperLimit
  • NetworkLowUsage
  • NetworkLowUsageLowerLimit
  • NetworkLowUsageUpperLimit
  • NetworkMaxRate
  • NetworkMinSpeed
  • NetworkSense
  • NetworkSpeed
  • NetworkTimeout
  • PreferIPVersion
  • PrioritizeRevocationChecks (UNIX-like platforms only)
  • SendTCPKeepAlive (Windows platforms only)
  • SourceFile
  • SourceRemove
  • SSLCACertificateFile (UNIX-like platforms only)
  • SSLCACertificatePath (UNIX-like platforms only)
  • SSLClientCertificateFile (UNIX-like platforms only)
  • SSLClientPrivateKeyFile (UNIX-like platforms only)
  • SSLCRLCacheLifetime (UNIX-like platforms only)
  • SSLCRLPath (UNIX-like platforms only)
  • SSLDirectory (UNIX-like platforms only)
  • TenantUID, to override the value set in the registry (multi-tenant mode only)
  • UploadLocation
  • UploadPassword
  • UploadRule
  • UploadType
  • UploadUser.
2025 R1.1

Parent topic:Command Lines