#include <HTTPFile.h>
Static Public Member Functions | |
| static Retval | download (TString strURI, const TString &strLocalFile) |
| Download a file. | |
Static class for downloading files over HTTP.
Download a file.
Download a file.
| strURI | [IN]: Universal resource identifier specifying an HTTP file. If the URI specifies a folder rather than a file, it must be passed with a terminating slash. |
Example: http://www.xatlantis.ch/index.html
| strLocalFile | [IN]: The local file's path name to store the content of the HTTP file. |
| RET_NOERROR | : Success. |
| RET_INVALID_PARAMETER,: | The local file could not be written. |
| RET_REQUEST_FAILED | : Generic failure, like the server is offline. |