Code: Select all
<error >
Value cannot be null.
Parameter name: path
< /error >
< exception >
System.ArgumentNullException: Value cannot be null.
Parameter name: path
at System.IO.Directory.CreateDirectory(String path)
at VaultClientOperationsLib.ClientInstance.CreateDiskFolders(VaultClientFolde
rColl folders)
at VaultClientOperationsLib.ClientInstance.Get(VaultClientFolder folder, Bool
ean recursive, Boolean forceLatest, MakeWritableType makeWritable, SetFileTimeTy
pe setFileTime, MergeType merge)
at VaultCmdLineClient.VaultCmdLineClient.ProcessCommand()
at VaultCmdLineClient.VaultCmdLineClient..ctor(String[] cmdlineargs)
< /exception >
< result success="no" />
< /vault>
To set a working folder, use the following command:
Code: Select all
vault -user me -password secret -host myvaultserver -repository "Default Repository" setworkingfolder $ C:\temp
Code: Select all
vault vault -user me -password secret -host myvaultserver -repository "Default Repository" unsetworkingfolder $
Note: If using destpath, files will always be overwritten. Use working folders if you don’t want your files to be overwritten.
Example:
Code: Select all
vault -user me -password secret -host myvaultserver -repository "Default Repository" get $/hello.world/underground -destpath c:/temp