Community
Vault Customization
Share your knowledge, ask questions, and explore popular Vault API, Data Standard, and VBA topics related to programming, creating add-ins, or working with the Vault API.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Download file to working folder

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
Tommie.D
716 Views, 2 Replies

Download file to working folder

Hi,

 

I'm writing a program to download and checkout files using acquire. How to I get the files downloaded to the working folder in the correct folder structure? I only manage to download them to "Application.LocalUserAppDataPath" as in the VaultList example by Wayne Brill. 

 

http://adndevblog.typepad.com/manufacturing/2013/06/checkout-checkin-a-file-in-vault-2014.html.

 

 

I would like to replicate the double click function on a file in the Vault client.

 

Thank you.

/Dan

2 REPLIES 2
Message 2 of 3
Redmond.D
in reply to: Tommie.D

By default, AcquireFiles downloads to the working folder.  Wayne's sample seems to be setting the local folder explicitly, which overwrites the default behavior.

 

Here are some things to try:

  • Make sure you are not setting the local folder.
  • Download a file through the Vault client and verify the expected download location.  

 



Doug Redmond
Software Engineer
Autodesk, Inc.

Message 3 of 3
Tommie.D
in reply to: Redmond.D

Great. Thank you.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report