Community
Vault Forum
Welcome to Autodesk’s Vault Forums. Share your knowledge, ask questions, and explore popular Vault topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Download file

6 REPLIES 6
Reply
Message 1 of 7
xenin
256 Views, 6 Replies

Download file

Hi , the method Download file is crashing. i ve retrieved the fileId and then i am passing that as an argument to the method "DownloadFile".
Please help me in resolving this issu. thanks in advance.

the error is in the attachment. Edited by: xenin on Oct 6, 2008 3:28 PM
6 REPLIES 6
Message 2 of 7
xenin
in reply to: xenin

The following code is giving an error

_documentService.CheckoutFile(FolderId,FileId,Environment.MachineName,localPath,Comment,download);

the error bmp is attached. how to resolve this one?
Message 3 of 7
Anonymous
in reply to: xenin


Error 1000 means that the folderid is invalid.

 

You may want to verify your
parameters.

 

Paul Gunn


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
The
following code is giving an error
_documentService.CheckoutFile(FolderId,FileId,Environment.MachineName,localPath,Comment,download);
the error bmp is attached. how to resolve this one?
Message 4 of 7
xenin
in reply to: xenin

Thanks Paul, now it is moving on. but if i opt for download in "CheckOut" methhod it is crashin saying "Additional information : 1021". if i provide "false" for download option, it is moving on. How to resolve tat? another doubt is how to retrieve the file from Vault? if i check out to a specific folder, still the folder is empty. and i got an error, attached in mail. kindly help me in resolving these things. Edited by: xenin on Oct 10, 2008 11:58 AM
Message 5 of 7
Anonymous
in reply to: xenin


1021 means that the file is already checked out. In
your testing, you may have checked the file out already.

 

Unfortunately I don't see the attachment you
mentioned, so cannot comment on that error.

 

Paul


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Thanks
Paul, now it is moving on. but if i opt for download in "CheckOut" methhod it
is crashin saying "Additional information : 1021". if i provide "false" for
download option, it is moving on. How to resolve tat? another doubt is how to
retrieve the file from Vault? if i check out to a specific folder, still the
folder is empty. and i got an error, attached in mail. kindly help me in
resolving these things. Edited by: xenin on Oct 10, 2008 11:58
AM
Message 6 of 7
xenin
in reply to: xenin

hi Paul, the attachment shows the error i ve made. actually my aim is to retrieve the file from the vault and then get the local folder where this is mapped and then alter the file based on different ciriterias and finally save and check in to the vault. kindly help me in coding (c#) regarding the above.
Message 7 of 7
Anonymous
in reply to: xenin


Based on the error it looks like you are not using
WSE [web service enhancements]. It need to be installed on the machine and the
proxies to the web services need to be generated to support WSE. This is mainly
important on APIs that transfer files [like download file] via DIME support. I
believe that the SDK and API documentation has information about getting WSE set
up.

 

Hope this helps,

 

Paul Gunn


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
hi
Paul, the attachment shows the error i ve made. actually my aim is to retrieve
the file from the vault and then get the local folder where this is mapped and
then alter the file based on different ciriterias and finally save and check
in to the vault. kindly help me in coding (c#) regarding the above.

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

Post to forums  

Autodesk Design & Make Report