crawlserv++  [under development]
Application for crawling and analyzing textual content of websites.
FTPUpload.hpp File Reference
#include "../Wrapper/Curl.hpp"
#include "../Helper/Portability/curl.h"
#include <cstddef>
#include <cstring>
#include <stdexcept>
#include <string>
Include dependency graph for FTPUpload.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  crawlservpp::Network::FTPUpload::State
 Stores content and status of a FTP upload. More...
 

Namespaces

 crawlservpp::Network::FTPUpload
 

Functions

void crawlservpp::Network::FTPUpload::write (const std::string &content, const std::string &url, const std::string &proxy=std::string{}, bool verbose=false)
 Writes data into a FTP file using the libcurl library. More...
 
std::size_t crawlservpp::Network::FTPUpload::read (char *bufptr, std::size_t size, std::size_t nitems, void *userp)
 Custom reader function for FTP transfers. More...
 
void crawlservpp::Network::FTPUpload::check (CURLcode code)
 Checks the result of a libcurl operation and throws an exception if an error occured. More...