wibble  0.1.28
Public Member Functions | Public Attributes
wibble::net::http::FileParam::FileInfo Struct Reference

Infomation about one uploaded file. More...

#include <http.h>

List of all members.

Public Member Functions

bool read (net::mime::Reader &mime_reader, std::map< std::string, std::string > headers, const std::string &outdir, const std::string &fname_blacklist, const std::string &client_fname, int sock, const std::string &boundary, size_t inputsize)
 Handle a file upload from a multipart/form-data file upload part.

Public Attributes

std::string fname
 File pathname on the local file system.
std::string client_fname
 File pathname provided by the client.

Detailed Description

Infomation about one uploaded file.


Member Function Documentation

bool wibble::net::http::FileParam::FileInfo::read ( net::mime::Reader mime_reader,
std::map< std::string, std::string >  headers,
const std::string &  outdir,
const std::string &  fname_blacklist,
const std::string &  client_fname,
int  sock,
const std::string &  boundary,
size_t  inputsize 
)

Member Data Documentation

File pathname provided by the client.

Referenced by read().

File pathname on the local file system.

Referenced by read().


The documentation for this struct was generated from the following files: