Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

myExternal Class Reference

This class is a wrapper around HTTP GET commands. More...

#include <SendHTTP.h>

List of all members.

Public Member Functions

 myExternal ()
 Constructor.
 ~myExternal ()
int copyFile (wxString url, wxString file, int _t=-1)
 Copy a file from URL to local.
wxString getText (wxString url)
 Get the text at an URL.

Public Attributes

wxProgressDialog * pd
 Pointer to a process dialog.

Private Member Functions

int copyFileLocal (wxString url, wxString file)
 Local file copy.
wxString getTextLocal (wxString url)
 Local get text.
int copyFileHTTP (wxString _url, wxString _file)
 HTTP file copy.
wxString getTextHTTP (wxString url)
 HTTP get text.
wxString getTextFTP (wxString server, wxString dir, wxString file)
 FTP get text.

Private Attributes

int targetSize
 File size, if known.


Detailed Description

This class is a wrapper around HTTP GET commands.


Constructor & Destructor Documentation

myExternal::myExternal  ) 
 

Constructor.

myExternal::~myExternal  )  [inline]
 


Member Function Documentation

int myExternal::copyFile wxString  url,
wxString  file,
int  _t = -1
 

Copy a file from URL to local.

int myExternal::copyFileHTTP wxString  _url,
wxString  _file
[private]
 

HTTP file copy.

int myExternal::copyFileLocal wxString  url,
wxString  file
[private]
 

Local file copy.

wxString myExternal::getText wxString  url  ) 
 

Get the text at an URL.

wxString myExternal::getTextFTP wxString  server,
wxString  dir,
wxString  file
[private]
 

FTP get text.

wxString myExternal::getTextHTTP wxString  url  )  [private]
 

HTTP get text.

wxString myExternal::getTextLocal wxString  url  )  [private]
 

Local get text.


Member Data Documentation

wxProgressDialog* myExternal::pd
 

Pointer to a process dialog.

int myExternal::targetSize [private]
 

File size, if known.


The documentation for this class was generated from the following files:
Generated on Fri Aug 11 16:19:44 2006 for GENtle by  doxygen 1.4.1