need to download http file with pause/resume capability


I'm building a Win32 application and I need the ability for the user to download a rather large file from a server via HTTP. Because of slow speeds, dial-up, etc, I would like to have the ability to have the user pause the download, restart it, or continue on a broken download. (I believe this is supported in the protocol using REST, etc). I know that any download manager or a tool like wget will handle this no problem, but I'd like to integrated it into my app. Plus, all I need to do is download a certain file from a certain server via http. I would think this would be pretty easy, but I'm having problems finding it. I'm not sure the MFC WinInet stuff will have this capability

Does anyone have an example of some C++ code that you can send me or point me to that can do this?

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion