How to download the attachment on client machine

Hi,
<o:p>
</o:p>
I had written a logic to download the attachment file from the work item using the plugin. I am able to download the Attachment of the work item on server machine, and tried to download the attachment on client machine but facing the problem while download the file on client machine.
Is there any way to download the attachment file on client machine.
Thanks in Advance. <o:p> </o:p>
2 answers

Hi Luca,
There is no any error. I successfully download attachment but it is downloaded on server machine (machine where RTC installed) and I want to download attachment on local client machine (at user machine).
Comments

It is usually impossible to download a file on a server and simply redirect it to be stored on an arbitrary computer in the network. This has nothing to do with APIs, this is just the most basic knowledge about how computer networks work. You would need some active servers protocols etc set up to transfer anything from one computer to another.
Any capability that allows to just distribute the data within the network would be serious infrastructure. The Server by the way will not even know which client contacted it at the API level we are talking here.
So basically you will have to use the client API on the client to download the attachment there (or use a browser or RTC client on that client).
Comments
Luca Martinucci
Oct 23 '17, 7:50 a.m.What kind of error are you getting?