Retrieving a file

The syntax of the commands to retrieve the current data files from the license server: SlmCmd –get… <filename> [-product <product-id>]

  • -getlic: Retrieve a license file.
  • -getdtp: Retrieve a desktop file.
  • -getusr: Retrieve a user file (product ID required).
  • -getsrv: Retrieve a server file (product ID required).

The retrieved file is one of the data files on the server and is copied as an XML file to the specified file. The example shows how to read the users for product 88 into the file users.xml. The force parameter forces to overwrite an existing file:

C:\>SlmCmd -getusr users.xml -product 88 -force
Retrieving file from license-server.
        Destination file        : users.xml
        Filetype                : User file
        Product-ID              : 88
OK
Note that if you retrieve user files or server files, you must always specify a product identification number.