Created a testing app for the downloadFile functions, and got the Win32 downloadFile function working with error reporting and basic failsafe measures.