soscmd.exe GetProject fails to get large files

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

Moderator: SourceGear

Post Reply
SimonJackson
Posts: 4
Joined: Tue Jul 24, 2007 2:32 am
Location: UK

soscmd.exe GetProject fails to get large files

Post by SimonJackson » Tue Jul 24, 2007 2:41 am

Hi,
I am new to SOS and my first usage is to integrate SOS into some VisualBuild scripts. To do this I am using the soscmd.exe command line and creating batch scripts to perform common tasks. I have noticed an issue with GetProject tree command when getting large files (we store some large pre-built libraries in source control).

I see a message similar to "Could not open file \s4ho.21. Error Num=2" when it tries to get the large file. The rest of the tree fetch suceeds, but this particular file fails each time.

If I use the GUI interface there is no problem and if I do a GetFile command on the single file there is no issue.

Below is the basic version of the batch file.

set OFFSITE=C:\program files\SourceOffsite\Soscmd.exe

set DBPARAMS=-server xx.xx.xx.xx:8080 -alias Myalias-nocache -name BuildDeploy -password password -recursive

"%OFFSITE%" %DBPARAMS% -command GetProject -project %1 -workdir %2

Any ideas??

SimonJackson
Posts: 4
Joined: Tue Jul 24, 2007 2:32 am
Location: UK

Post by SimonJackson » Tue Jul 24, 2007 4:44 am

Hmmm.
I added the -nocompress option to the command and all is OK. This is not an optimal solution as it slows the network transport.

:?

Post Reply