Health-GPS 3.0.0.0
Global Health Policy Simulation model (Health-GPS)
Loading...
Searching...
No Matches
download_file.cpp File Reference
#include "download_file.h"
#include "HealthGPS/program_dirs.h"
#include <curlpp/Easy.hpp>
#include <curlpp/Exception.hpp>
#include <curlpp/Options.hpp>
#include <curlpp/cURLpp.hpp>
#include <fmt/format.h>
#include <fstream>
#include <random>
#include <sstream>
Include dependency graph for download_file.cpp:

Namespaces

namespace  hgps
 Top-level namespace for Health-GPS Console host application.
 
namespace  hgps::input
 Data structures containing model parameters and configuration options.
 

Functions

void hgps::input::download_file (const std::string &url, const std::filesystem::path &download_path)
 Download the file at the specified URL.
 
std::filesystem::path hgps::input::download_file_to_temporary (const std::string &url, const std::string &file_extension)
 Download the file at the specified URL to a temporary folder.