I'm trying to download a file from the internet. I know that I can do this with the Inet control, and I have done it before with the Inet control. Unfortunately, I'm working on a project where I can't use the Inet control (or any OCXs).

How do I use wininet.dll to download a file from the 'net?