-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Download of single files uses a WebClient for downloading the file.
If the Azure Blob Storage Container is not set to public access, this will result in a Status 404 (Resource not found).
FileStreamResult fileStreamResult = new FileStreamResult(new MemoryStream(new WebClient().DownloadData(this.filesPath + selectedItems[0].FilterPath + names[0])), "APPLICATION/octet-stream"); fileStreamResult.FileDownloadName = file.Name; return fileStreamResult;
To support private Blob Container's aswell, the Azure Blob Storage library should be used to download the file's.
Metadata
Metadata
Assignees
Labels
No labels