Window's file picker issue with sharable link

Hashir Sheikh 1 Reputation point
2021-09-16T06:12:43.86+00:00

I have to implement <input type=file />, On windows system I am able to pick local file as well as able to get file from url. which also accept the http://www.africau.edu/images/default/sample.pdf.

Now the problem is if file link requires authentication (basic Authentication), then windows file picker is gave some kind of html rather than providing file. Also Windows file picker is not asking for any username and password.

Is this possible that we get the file from link, which support basic authentication, using windows file picker.

Thanks in advance.

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
942 questions
0 comments No comments
{count} votes