soscmd 4.0: Error using GetProject command

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

Moderator: SourceGear

Post Reply
Ingmar
Posts: 1
Joined: Tue Jun 01, 2004 2:18 am

soscmd 4.0: Error using GetProject command

Post by Ingmar » Tue Jun 01, 2004 2:57 am

Hi

I have a working installation of SourceOffsite 4.0 and with the GUI it is possible to work as expected.

But when I use soscmd.exe -command GetProject in conjunction with the -soshome argument I'm experiencing some problems.

Without -soshome it works as it should:


C:\Program Files\SourceOffSite>soscmd.exe -command GetProject -verbose -server "
xxxx:8888" -name "ingmar" -password "xxx" -alias "ssjupiter" -workdir "c:\
Projects\Jupiter\B.0\Source\AcessControlSvc/SecurityUtility" -project "$/jupiter
/B.0/Source/AccessControlSvc/SecurityUtility"
SourceOffSite Command Line Client: 128 bit Encryption version 4.0
Connected to server andjpfs03 at port 8888.

Matched alias 'ssjupiter' to database 'D:\ssjupiter\srcsafe.ini'

Received Challenge from server
Successfully logged in.
Sending GetProject Command to server.
Got file: c:\Projects\Jupiter\B.0\Source\AcessControlSvc\SecurityUtility\AuthenticationForm.cs
Got file: c:\Projects\Jupiter\B.0\Source\AcessControlSvc\SecurityUtility\AuthenticationForm.resx
Got file: c:\Projects\Jupiter\B.0\Source\AcessControlSvc\SecurityUtility\PasswordCHGForm.cs
Got file: c:\Projects\Jupiter\B.0\Source\AcessControlSvc\SecurityUtility\PasswordCHGForm.resx
Got file: c:\Projects\Jupiter\B.0\Source\AcessControlSvc\SecurityUtility\SecurityUtility.cs
Got file: c:\Projects\Jupiter\B.0\Source\AcessControlSvc\SecurityUtility\SecurityUtility.resx
Finished retrieving project files.
Closed connection to server andjpfs03 at port 8888.



But as soon as I'm using -soshome I'm getting some strange results:


soscmd.exe -command GetProject -verbose -soshome
"c:\Program Files\SourceOffsite" -server "xxx:8888" -name "ingmar" -password "xxx" -alias "ssjupiter" -project "$/jupiter/B.0/Source/AccessControlSvc/SecurityUtility"
SourceOffSite Command Line Client: 128 bit Encryption version 4.0
Connected to server xxx at port 8888.

Matched alias 'ssjupiter' to database 'D:\ssjupiter\srcsafe.ini'

Received Challenge from server
Successfully logged in.
Sending GetProject Command to server.
Requesting file: yes
Error: Server response = 401 NoSuchFileOrProject
Requesting file: $/jupiter/B.0/Source/AccessControlSvc/SecurityUtility
Use-Compression:YES
Message-ID:2
Content-Length:0

Error: Server response = 401 NoSuchFileOrProject
Requesting file: 1
Error: Server response = 407 UnrecognizedMessage
Requesting file: 02/26/2004 17:59
Error: Server response = 407 UnrecognizedMessage
Requesting file:
Error: Server response = 407 UnrecognizedMessage
Saving Tree status updates to file.
Closed connection to server andjpfs03 at port 8888.




It seems as if there is some error in constructing the file names to request. I'm using SourceOffsite accross the Atlantic (me sitting in Europe), maybe there is some data/time format problem? The network connection is also quite bad (intranet) with low bandwidth and some retransmits.


Any idea what might be going on here? I would really like to use the -soshome option as this would also update the status in GUI (does it?) and include cache information while getting files (which should speed up things considerably).

Ingmar

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

Post by lbauer » Tue Jun 01, 2004 8:36 am

The path to -soshome is incorrect. The cache files were previously in the SOS Client directory in version 3.x, but as of SOS 4.0, they are now in C:\Documents and Settings\<user>\Application Data\SourceGear\SOS.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply