Infomation about one uploaded file. More...
#include <http.h>
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. |
Infomation about one uploaded file.
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 | |||
) |
Handle a file upload from a multipart/form-data file upload part.
File pathname provided by the client.
std::string wibble::net::http::FileParam::FileInfo::fname |
File pathname on the local file system.
Referenced by wibble::net::http::FileParamSingle::FileParamSingle().