Developer technologies | .NET | Other
Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Dear Sir/madam,
I would like to create a API endpoint for downloading large file (>300mb). How can I download a large file (>300mb) using .net core 3.1 c#?
Thanks & Regards,
Dicky
This test with a 512 MB file works for me in .Net Core 3.1 =>
At begining :
using System.Net;
Then :
using (WebClient wc = new WebClient())
{
wc.Headers.Add("User-Agent: Test");
wc.DownloadFile("http://ipv4.download.thinkbroadband.com/512MB.zip", "e:\\512MB.zip");
}