Howdy, Stranger!

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

Sign In with Facebook Sign In with Google Sign In with OpenID

Categories

We have migrated to a new platform! Please note that you will need to reset your password to log in (your credentials are still in-tact though). Please contact lee@programmersheaven.com if you have questions.
Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

need to download http file with pause/resume capability

Hi,

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?

Thanks!
Sign In or Register to comment.