AnsweredAssumed Answered

URL for downloading

Question asked by anshul on Jan 24, 2011
Latest reply on Jan 25, 2011 by jcustovic
hi
I am trying to create a url to download a file from alfresco repository. This is what i am doing

//—————-Starting Session And getting Ticket——————–

AuthenticationUtils.startSession("admin", "admin");
string ticket=AuthenticationUtils.getTicket();

let
node uuid is e9c97a2d-86d5-41ef-8246-90ee31e23af8
ticket = TICKET_59e87771016fcd8e918d9df507125b14132fb79f

So URL is
http://127.0.0.1:8080/alfresco/d/d/workspace/SpacesStore/e9c97a2d-86d5-41ef-8246-90ee31e23af8/file.doc?alf_ticket=59e87771016fcd8e918d9df507125b14132fb79f
But when i use this link in the browser it ask for authentication.
as i have given the ticket parameter than why it is asking for authentication. What i am doing wrong here. please help.

Thanks
Anshul

Outcomes