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 |
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
|
|
|
|
Goto Forum:
Current Time: Thu Mar 28 19:15:09 CET 2024
Total time taken to generate the page: 0.01041 seconds
|