Skip to content

Commit e23c7d3

Browse files
authored
Merge pull request #4 from perrysk-msft/patch-1
Update HomeController.cs
2 parents f0513c6 + 6ca1f07 commit e23c7d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WebApp-Storage-DotNet/Controllers/HomeController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public async Task<ActionResult> UploadAsync()
111111
for (int i = 0; i < fileCount; i++)
112112
{
113113
CloudBlockBlob blob = blobContainer.GetBlockBlobReference(GetRandomBlobName(files[i].FileName));
114-
await blob.UploadFromFileAsync(files[i].FileName, FileMode.Open);
114+
await blob.UploadFromFileAsync(files[i].FileName);
115115
}
116116
}
117117
return RedirectToAction("Index");

0 commit comments

Comments
 (0)