I have a DFS 6.5 .NET web application that queries the repository and returns a list of object ids of documents I'd like to display as hyperlinks. When the user clicks a link, I'd like to stream the file to the browser (which will always be IE). I now believe I need to use those object ids to return DataObjects representing the documents, but I'm not sure how to construct the code to create the urls and stream the file once the hyperlink is clicked. The majority of the docs will be pdf or tiff images, so some sample code for either of those formats would be greatly appreciated.
I'm assuming I'd have to set the ContentTransferMode to UCF. I couldn't find any good examples in the DFS 6.5 dev guide or sdk.
Thanks in advance!