J
J
Junior0072016-11-16 15:03:26
C++ / C#
Junior007, 2016-11-16 15:03:26

C++ how to download file from internet?

Hello!
How to download a file from the Internet? A picture, for example. Preferably with the help of Boost:: Asio, I figured out how to get the contents of an html document, only other files are not downloaded this way

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rou1997, 2016-11-16
@Junior007

Why is it not downloading other files? Are you working with a string? Work with bytes.
With Boost I don't know, I would do it with URLDownloadToFile (WinAPI), curl or Qt.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question