Skip to content

Instantly share code, notes, and snippets.

@vlhs-beep
Created December 17, 2016 00:55
Show Gist options
  • Save vlhs-beep/a9ed5bef92507c49a3f8c2d8b5421e82 to your computer and use it in GitHub Desktop.
Save vlhs-beep/a9ed5bef92507c49a3f8c2d8b5421e82 to your computer and use it in GitHub Desktop.
/* descarga_Sismograma */
void descarga_Sismograma(void){
CkHttpW http;
bool success;
const wchar_t *localFilePath = 0;
localFilePath = L"data/images/png/heli.png";
success = http.Download(L"http://200.123.254.42:16090/heli.png", localFilePath);
if (success != true){
wprintf(L"Error, No se pudo descargar la imagen.\r\n");
return;
}
wprintf(L"Imagen descargada correctamente.\n");
return;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment