Static Public Member Functions

zeus::THTTPFile Class Reference

#include <HTTPFile.h>

List of all members.

Static Public Member Functions

static Retval download (TString strURI, const TString &strLocalFile)
 Download a file.

Detailed Description

Static class for downloading files over HTTP.


Member Function Documentation

Retval zeus::THTTPFile::download ( TString  strURI,
const TString strLocalFile 
) [static]

Download a file.

Download a file.

Parameters:
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

Parameters:
strLocalFile[IN]: The local file's path name to store the content of the HTTP file.
Return values:
RET_NOERROR: Success.
RET_INVALID_PARAMETER,:The local file could not be written.
RET_REQUEST_FAILED: Generic failure, like the server is offline.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Written by Benjamin Hadorn http://www.xatlantis.ch.
Last change made on Sun Jan 22 2012 15:28:28