Search found 58 matches

by ejhansen71
Thu Jan 26, 2017 11:14 am
Forum: Support (Vault)
Topic: Is it possible to recover a deleted file in vault?
Replies: 2
Views: 2716

Is it possible to recover a deleted file in vault?

I have a user who had a history of 34 versions of a file. Now there is only 2. So he must have deleted the file at some point and then started again.

Is there any way to recover that history/file?
Vault Standard
v 9.1.0 (584)
by ejhansen71
Thu Oct 06, 2016 1:58 pm
Forum: Support (Vault)
Topic: DIFF/MERGE and the Modification Date
Replies: 3
Views: 3336

Re: DIFF/MERGE and the Modification Date

Ok. I'll use the GET.

Please put in a feature request. It's not normally a big deal since I am usually just comparing the contents of 2 files. But when doing a Folder Compare, it matters.

Thanks!
by ejhansen71
Thu Oct 06, 2016 9:52 am
Forum: Support (Vault)
Topic: DIFF/MERGE and the Modification Date
Replies: 3
Views: 3336

DIFF/MERGE and the Modification Date

We are using Beyond Compare as our comparison tool. We right click on the directory, select Show Differences... and the tool does a great job showing the diffs between the files using: "%LEFT_PATH%" "%RIGHT_PATH%" /ro /title1="%LEFT_LABEL%" /title2="%RIGHT_LABEL%" The problem is that the Temp files/...
by ejhansen71
Tue May 31, 2016 8:13 am
Forum: Questions (API)
Topic: C# API To get Diff btwn Current and Previous Check in
Replies: 20
Views: 17209

Re: C# API To get Diff btwn Current and Previous Check in

Just a final update to this. I was unable to make it work with the built-in DIFF tool. Instead, I do a GET to a separate folder and then use a third party DIFF tool to do the work.
by ejhansen71
Tue May 31, 2016 8:11 am
Forum: Questions (API)
Topic: GetLabel via Parallel.ForEach Loop Error
Replies: 3
Views: 5525

Re: GetLabel via Parallel.ForEach Loop Error

Machine 1: Personal PC
Machine 2: Application Server
Machine 3: Vault Server
Machine 4: Linux server via SAMBA

Answers:
A) Different Machine (#2)

B) Command is started on 1 then executed on 2. Machine 2 then executes the command and sends it to 3 which sends it back to 2 and finally to 4 to write.
by ejhansen71
Thu May 26, 2016 8:42 pm
Forum: Questions (API)
Topic: GetLabel via Parallel.ForEach Loop Error
Replies: 3
Views: 5525

GetLabel via Parallel.ForEach Loop Error

I have a process that does GetLabel to 5 different servers. To speed up the process, I used Async/Await for each of the server calls. I was told it would be better to use Parallel.ForEach. The problem is that I get the following error(see below). Is there a way to fix this problem? I use the code be...
by ejhansen71
Tue May 03, 2016 3:49 pm
Forum: Questions (API)
Topic: C# API To get Diff btwn Current and Previous Check in
Replies: 20
Views: 17209

Re: C# API To get Diff btwn Current and Previous Check in

Corrected the code. It still always results in "True" with exit code of 0 showing no differences. DIFF -repository \"NZLoad\" -vaultdiff_options \"-diff=\"J:\\vault\\logs\\test.diff\" -compareto lastget \"$/ntzload/test.txt\" test.txt is different from current to lastget. I set the working folder I ...
by ejhansen71
Tue May 03, 2016 2:38 pm
Forum: Questions (API)
Topic: C# API To get Diff btwn Current and Previous Check in
Replies: 20
Views: 17209

Re: C# API To get Diff btwn Current and Previous Check in

I never get a file with differences. Can you find a problem with my code? "plink.exe -P 44022 ehansen@ghelsiapp \"DIFF -repository \"Chicago\" -vaultdiff_options \"{-diff=\"J:\\vault\\logs\\test.test.diff\"}\" -compareto lastget \"$/DATAOps/custom/test.test\"\"" Breaks down to : DIFF -repository "Ch...
by ejhansen71
Mon May 02, 2016 4:45 pm
Forum: Questions (API)
Topic: C# API To get Diff btwn Current and Previous Check in
Replies: 20
Views: 17209

Re: C# API To get Diff btwn Current and Previous Check in

I could not get it to work on 2 different repositories witrh 2 different files, but it finally worked on the 3rd one I tried.

Result?
<vault>
<result>
<success>True</success>
</result>
</vault>

Excellent! Now the dumb part, how do I actually get the diff?
by ejhansen71
Fri Apr 29, 2016 3:22 pm
Forum: Questions (API)
Topic: C# API To get Diff btwn Current and Previous Check in
Replies: 20
Views: 17209

Re: C# API To get Diff btwn Current and Previous Check in

Same Result: I set the working folder successfully Succeeds: plink -P 44022 ehansen@ghelsiapp "SETWORKINGFOLDER -repository NZLoad -forcesubfolderstoinherit $/ntzload \\ghtestetl1\src_ntzload " Failed: plink -P 44022 ehansen@ghelsiapp "DIFF -repository NZLoad -compareto lastget -norecursive -vaultdi...
by ejhansen71
Thu Apr 28, 2016 3:37 pm
Forum: Questions (API)
Topic: C# API To get Diff btwn Current and Previous Check in
Replies: 20
Views: 17209

Re: C# API To get Diff btwn Current and Previous Check in

Tried both below. plink -P 44022 ehansen@ghelsiapp "DIFF -repository Beachwood -compareto lastget -norecursive -vaultdiff %VAULT_EXE_DIR%/sgdm.exe \"$/Launchpad_src/README.txt\"" plink -P 44022 ehansen@ghelsiapp "DIFF -repository Beachwood -compareto lastget -norecursive -vaultdiff %VAULT_EXE_DIR%/s...
by ejhansen71
Thu Apr 28, 2016 11:59 am
Forum: Questions (API)
Topic: C# API To get Diff btwn Current and Previous Check in
Replies: 20
Views: 17209

Re: C# API To get Diff btwn Current and Previous Check in

Ok did the SETWORKINGFOLDER, now I get this error Arguments = string.Format("-P 44022 {0}@ghelsiapp \"DIFF -repository {1} -compareto lastget -norecursive {2} {3}\"", vaultRequest.Username, vaultRequest.Repository, "$/" + l_file1 , "\\ghtestetl1\\src_launchpad\\README.txt"), <exception>System.Except...
by ejhansen71
Thu Apr 28, 2016 7:46 am
Forum: Questions (API)
Topic: C# API To get Diff btwn Current and Previous Check in
Replies: 20
Views: 17209

Re: C# API To get Diff btwn Current and Previous Check in

I make a call to GETLABEL. Afterwards, I send a request to do a diff. Requirement: Get the files associated with a label and write them to a SAMBA share \\server\folder then get the difference between that file and the previous version in the repository - which is the lastget option. Here is the cod...
by ejhansen71
Wed Apr 27, 2016 7:19 pm
Forum: Questions (API)
Topic: C# API To get Diff btwn Current and Previous Check in
Replies: 20
Views: 17209

Re: C# API To get Diff btwn Current and Previous Check in

Can you give me an idea of what

DIFF -repository REPO -compareto lastget -norecursive $/project/file.txt \\server\project\file.txt

Error: Working Folder not set for Repository path.

We use a vault client on an application server. No working folders are set. How do I pass one?