AnsweredAssumed Answered

Want to download file using URI

Question asked by surajit on Dec 12, 2006
Latest reply on Dec 13, 2006 by rdanner
Hi I want to download (open/save) a file from my JBoss portal. I have created a Web Service to log into the Alfresco server and go to a particular file in a directory by using
WebService.getRepositoryService.get(new Reference[]{SAMPLE_FILE},STORE,null)

I can read the content of the file by using function.

Now I don't want to read the file content. I just want to read the contentURI and display on my portlet. When somebody clicks on the link then it should go to AlFresco and get the data from that URI.

The problem is that if I try to use this URL from the IE the the Alfresco Login page is displayed. However when I enter the password I am able to view the document.

What's the way I could bypass this Login page