Question
3
Replies
645
Views
Cognizant Technology Solutions
Posted: June 11, 2019
Last activity: June 18, 2019
Closed
Downloading file using a physical path from a shared folder
I have a requirement to download a file or open a shared folder in browser. I have the physical path of the folder or document. When I put the physical path in browser, I can access the file or folder. Is there a way in Pega to open the physical path in browser.
I used Open URL in new window action and it adds https in front of the physical path while opening in browser.
***Edited by Moderator Marissa to update SR Details; platform capability tags***
Hi SudhanshuS5799,
From your screenshot I can see you are attempting to access link to a UNC link - rather than to another HTTP-provided resource.
Taking PRPC out of the equation for the moment (and I think we can: the following applies to *any* web-based software in my opinion) ; take a look at this 3rd party article:
https://stackoverflow.com/questions/1369147/linking-a-unc-network-drive-on-an-html-page
Where it says you could include a UNC path by using the following style of link:
But then goes onto to say that this link will be blocked by your browser - for security reasons.
(A bad actor could use this to get the user to run a program I guess - but also use local files/information to (somehow) fool the end-user in a way that could be exploited).