Does someone know how to download a file in c++? A simple way. i just need it to download and save it to a specific directory.
Afonso_1 0 Newbie Poster
Recommended Answers
Jump to PostWhile I can't guess why the c tag, you left out where the file is. That is, native C++ doesn't have the utilities to work with the web. Checking out https://www.codespeedy.com/how-to-download-files-from-internet-using-cpp/ confirms this.
…
All 4 Replies
rproffitt 2,701 https://5calls.org Moderator
toneewa 115 Junior Poster
toneewa 115 Junior Poster
Dani 4,675 The Queen of DaniWeb Administrator Featured Poster Premium Member
toneewa commented: No typo. It's a built-in fuction. You'll see it in the header urlmon.h. Rare. It's not talked about much, but I remember switching to fix old code. +1
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.