#include "url-transfer.h"
Public Member Functions | |
url_transfer (const std::string &host, const std::string &user, const std::string &passwd, std::ostream &os) | |
url_transfer (const std::string &url, std::ostream &os) | |
url_transfer (const url_transfer &)=default | |
url_transfer (void) | |
~url_transfer (void)=default | |
void | ascii (void) |
void | binary (void) |
void | cookie_jar (const std::string &filename) |
void | cwd (const std::string &path) |
void | del (const std::string &file) |
void | dir (void) |
void | form_data_post (const Array< std::string > ¶m) |
void | get (const std::string &file, std::ostream &os) |
void | get_fileinfo (const std::string &filename, double &filesize, time_t &filetime, bool &fileisdir) |
bool | good (void) const |
void | http_action (const Array< std::string > ¶m, const std::string &action) |
void | http_get (const Array< std::string > ¶m) |
void | http_post (const Array< std::string > ¶m) |
bool | is_ascii (void) const |
bool | is_binary (void) const |
bool | is_valid (void) const |
std::string | lasterror (void) const |
string_vector | list (void) |
void | mget_directory (const std::string &directory, const std::string &target) |
void | mkdir (const std::string &path) |
string_vector | mput_directory (const std::string &base, const std::string &directory) |
url_transfer & | operator= (const url_transfer &)=default |
void | put (const std::string &file, std::istream &is) |
std::string | pwd (void) |
void | rename (const std::string &oldname, const std::string &newname) |
void | rmdir (const std::string &path) |
void | set_header_fields (const Array< std::string > ¶m) |
std::istream & | set_istream (std::istream &is) |
std::ostream & | set_ostream (std::ostream &os) |
void | set_weboptions (const struct weboptions ¶m) |
Private Attributes | |
std::shared_ptr< base_url_transfer > | m_rep |
Definition at line 177 of file url-transfer.h.
octave::url_transfer::url_transfer | ( | void | ) |
Definition at line 944 of file url-transfer.cc.
octave::url_transfer::url_transfer | ( | const std::string & | host, |
const std::string & | user, | ||
const std::string & | passwd, | ||
std::ostream & | os | ||
) |
Definition at line 947 of file url-transfer.cc.
octave::url_transfer::url_transfer | ( | const std::string & | url, |
std::ostream & | os | ||
) |
Definition at line 952 of file url-transfer.cc.
|
default |
|
default |
|
inline |
Definition at line 212 of file url-transfer.h.
Referenced by F__ftp_ascii__().
|
inline |
Definition at line 214 of file url-transfer.h.
Referenced by F__ftp_binary__().
|
inline |
Definition at line 283 of file url-transfer.h.
|
inline |
|
inline |
Definition at line 222 of file url-transfer.h.
Referenced by F__ftp_delete__().
|
inline |
Definition at line 255 of file url-transfer.h.
Referenced by F__ftp_dir__().
|
inline |
Definition at line 293 of file url-transfer.h.
|
inline |
Definition at line 238 of file url-transfer.h.
Referenced by F__ftp_mget__().
|
inline |
Definition at line 259 of file url-transfer.h.
Referenced by F__ftp_dir__(), and F__ftp_mget__().
|
inline |
Definition at line 198 of file url-transfer.h.
Referenced by F__ftp_mget__(), F__ftp_mput__(), F__restful_service__(), Furlread(), Furlwrite(), and octave::news_reader::process().
|
inline |
Definition at line 277 of file url-transfer.h.
Referenced by F__restful_service__(), Furlread(), and Furlwrite().
|
inline |
Definition at line 267 of file url-transfer.h.
Referenced by octave::news_reader::process().
|
inline |
Definition at line 272 of file url-transfer.h.
|
inline |
Definition at line 216 of file url-transfer.h.
Referenced by F__ftp_mode__().
|
inline |
Definition at line 218 of file url-transfer.h.
|
inline |
Definition at line 196 of file url-transfer.h.
Referenced by F__ftp_ascii__(), F__ftp_binary__(), F__ftp_cwd__(), F__ftp_delete__(), F__ftp_dir__(), F__ftp_mget__(), F__ftp_mkdir__(), F__ftp_mode__(), F__ftp_mput__(), F__ftp_pwd__(), F__ftp_rename__(), F__ftp_rmdir__(), F__restful_service__(), Furlread(), Furlwrite(), octave::url_handle_manager::make_url_handle(), and octave::news_reader::process().
|
inline |
Definition at line 200 of file url-transfer.h.
Referenced by F__ftp_mget__(), F__ftp_mput__(), F__restful_service__(), Furlread(), and Furlwrite().
|
inline |
Definition at line 257 of file url-transfer.h.
Referenced by F__ftp_dir__(), and F__ftp_mget__().
|
inline |
Definition at line 243 of file url-transfer.h.
Referenced by F__ftp_mget__().
|
inline |
|
inline |
Definition at line 249 of file url-transfer.h.
Referenced by F__ftp_mput__().
|
default |
|
inline |
Definition at line 233 of file url-transfer.h.
Referenced by F__ftp_mput__().
|
inline |
Definition at line 265 of file url-transfer.h.
Referenced by F__ftp_pwd__().
|
inline |
Definition at line 228 of file url-transfer.h.
Referenced by F__ftp_rename__().
|
inline |
|
inline |
Definition at line 288 of file url-transfer.h.
|
inline |
Definition at line 207 of file url-transfer.h.
|
inline |
Definition at line 202 of file url-transfer.h.
|
inline |
Definition at line 298 of file url-transfer.h.
Referenced by F__restful_service__().
|
private |
Definition at line 305 of file url-transfer.h.