SOS 3.5.3 + Command Line + Password

If you are having a problem using SourceOffSite, post a message here.

Moderator: SourceGear

Post Reply
jhurrell
Posts: 2
Joined: Thu Aug 11, 2005 10:15 am

SOS 3.5.3 + Command Line + Password

Post by jhurrell » Thu Aug 11, 2005 10:24 am

I'm trying to get SOS running via the Command Line. I have successfully managed to run the command:

soscmd -command GetDatabases -server sossvr:8888

to retrieve a list of the databases on my server, however, I cannot get SOS to do anything else.

I am trying to run the following command:

soscmd -command GetProject -server sossvr:8888 -name JHU -password -database d:\EngVSS\DOC\srcsafe.ini -project $/Eiffel/Userdoc/DB2/MASTER/DSSADM -workdir d:\Eiffel\Userdoc\DB2\MASTER\DSSADM -recursive

All I get is an error. I think this has to do with the fact that when using the SOS GUI Client I don't input a password for my username. However, the command line client requires that a password is inputted. I have tried omitting the -password option, leaving it as it is with a blank password and inputting a random word in place of a password.

Anyone any ideas? Is the best bet to get my SOS admin guy to generate a password for my username and then force me to enter it?

Thanks.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Thu Aug 11, 2005 12:28 pm

If your VSS password is blank, use -password "". (Those are quotes.)
Linda Bauer
SourceGear
Technical Support Manager

jhurrell
Posts: 2
Joined: Thu Aug 11, 2005 10:15 am

Post by jhurrell » Fri Aug 12, 2005 9:26 am

Thank you! This works perfectly.

James

Post Reply