While there is no issue in downloading a file from an normal url, there is an issue i am getting when passed a blob url to download the file. The file is able to download but with empty content.
Below is my code:
WebClient downloader = new WebClient();
var task = downloader.DownloadFileTaskAsync(new Uri("https://normal-url"), @Filepath);
This is downloading file with content. But when i use a blob URL as below, the empty content file gets downloaded.
WebClient downloader = new WebClient();
var task = downloader.DownloadFileTaskAsync(new Uri("blob:http://localhost/384566b5-1a50-4c39-89e9-94e2214cbc97"), @Filepath);
The blob url is passed from javascript through web service.