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.

Microsoft 365 and Office | Development | Office JavaScript API
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.