Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ MT-multithreading and servers » downloading file help
Re: downloading file help [message #16821 is a reply to message #16820] Mon, 14 July 2008 22:34 Go to previous messageGo to previous message
bytefield is currently offline  bytefield
Messages: 210
Registered: December 2007
Experienced Member
I suppose you download it over http...
Here is a small snippet from httpcli example which store the server response in a string. If the url is pointing to your file, then the content of file will be stored in content variable.
HttpClient client;
client.URL(url);
String content = client.ExecuteRedirect();

Saving data to file is simple as SaveFile("/path/", content);


cdabbd745f1234c2751ee1f932d1dd75
 
Read Message
Read Message
Read Message
Previous Topic: About U++ plugin/port of Webkit
Next Topic: downloading file progress bar
Goto Forum:
  


Current Time: Mon Aug 25 05:07:26 CEST 2025

Total time taken to generate the page: 0.05527 seconds