none
Error downloading files larger than 2GB only on Azure VMs RRS feed

  • Question

  • Hi Microsoft

    I have a problem downloading files larger than 2GB - but only on Azure Virtual Machines.

    You can find my code here: https://pastebin.com/RYRRQdSB (note: the link will expire on the 17/1/2019)

    The problem is that when i download files from my FTP server, it works perfectly - except when running it on an Azure Virtual Machine, where it gives an error after about 2 GB (specifically after 1.970.104.320 bytes)

    The exception is: "The underlying connection was closed: An unexpected error occurred on a receive."

    ... although my guess is that the problem is memory related.

    The program is compiled as 64 bit by the way :)

    Best regards

    Martin

    Thursday, January 3, 2019 11:14 AM

All replies