download file 1Gb : I am having difficulty downloading files with a size of 1 GB.
Smaller files works fine.
I've tried some options.

My file is a zip folder that contais some pdf files. 

I've tried some options like use WebClient namespace

This is my code that works just smaller files. 

byte[] fileBytes = System.IO.File.ReadAllBytes(sPath);
string fileName = System.IO.Path.GetFileName(sPath);
return File(fileBytes, System.Net.Mime.MediaTypeNames.Application.Octet, fileName);

my fileBytes variable stay like this = byte[1099288209] and I get a "Overflow or underflow in the arithmetic operation."

But when my file has 1Gb size or greater it isn't works. 

If a use the WebClient namespace I have the follow error: 

wClient.DownloadFile("https://site/folder/", sPath);

"A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 10.127.1.180:8080"

my fileBytes variable stay like this = byte[1099288209] and I get a "Overflow or underflow in the arithmetic operation."

Using webClient I get an error like this "A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 10.127.1.180:8080"