cancel
Showing results for 
Search instead for 
Did you mean: 

DTR Command-line Client using user.xml

Former Member
0 Kudos

According to the dtr.bat's usage text you can either specify the logon credentials on the command-line or provide them in a file called user.xml:


dtr is DTR's client tool for the command line.
It can be used in 2 modes
- As a simple command line client
- As a shell

The shell can be started using dtrshell

In both these modes the user will require to logon through a popup unless the 
commands being used do not connect to the DTR server(Exa: help command).
If it is required that the login popup does not appear then one of the following 
should be true.
1. The vfs config folder should have a user.xml file.
2. The username & password should be specified using the following commandline options:
    a. --username/-un <username>
    b. --password/-pwd <pwd>

I'd like to use the user.xml (option 1) since I plan to execute a set of commands in an ant script, but I cannot find any documentation on what the contents should exactly be.

Does anyone have an idea?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Here is the format:

<?xml version="1.0" encoding="UTF-8"?>
<accounts>
	<account
		serverUrl="http://server:port/dtr/"
		username=""
		password=""
	/>
</accounts>

Former Member
0 Kudos

Excellent! Where did you find this information?

Answers (1)

Answers (1)

former_member201620
Participant
0 Kudos

Hi Pascal,

this is quite a while but may be you still remember. Where exactly do I have to put this file? And does it support password encryption?

BR

Chris