GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <string>
#include <fstream>
#include <iomanip>
#include <iostream>
#include "dir-ops.h"
#include "file-ops.h"
#include "file-stat.h"
#include "oct-env.h"
#include "oct-handle.h"
#include "glob-match.h"
#include "singleton-cleanup.h"
#include "url-transfer.h"
#include "defun.h"
#include "error.h"
#include "oct-obj.h"
#include "ov-cell.h"
#include "pager.h"
#include "oct-map.h"
#include "oct-refcount.h"
#include "unwind-prot.h"
Go to the source code of this file.
Classes | |
class | ch_manager |
Typedefs | |
typedef octave_handle | curl_handle |
typedef octave_handle curl_handle |
Definition at line 61 of file urlwrite.cc.
|
static |
Definition at line 56 of file urlwrite.cc.
References octave_unlink().
Referenced by F__ftp_mget__(), and Furlwrite().
OCTAVE_EXPORT octave_value_list F__ftp__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 567 of file urlwrite.cc.
References error_state, octave_value::length(), ch_manager::make_curl_handle(), octave_stdout, print_usage(), octave_value::string_value(), and octave_handle::value().
OCTAVE_EXPORT octave_value_list F__ftp_ascii__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 755 of file urlwrite.cc.
References url_transfer::ascii(), error(), error_state, ch_manager::get_object(), url_transfer::is_valid(), and octave_value::length().
OCTAVE_EXPORT octave_value_list F__ftp_binary__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 783 of file urlwrite.cc.
References url_transfer::binary(), error(), error_state, ch_manager::get_object(), url_transfer::is_valid(), and octave_value::length().
OCTAVE_EXPORT octave_value_list F__ftp_close__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 811 of file urlwrite.cc.
References error(), error_state, ch_manager::free(), octave_value::length(), ch_manager::lookup(), and octave_handle::ok().
OCTAVE_EXPORT octave_value_list F__ftp_cwd__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 636 of file urlwrite.cc.
References url_transfer::cwd(), error(), error_state, ch_manager::get_object(), url_transfer::is_valid(), octave_value::length(), and octave_value::string_value().
OCTAVE_EXPORT octave_value_list F__ftp_delete__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 867 of file urlwrite.cc.
References url_transfer::del(), error(), error_state, ch_manager::get_object(), url_transfer::is_valid(), octave_value::length(), and octave_value::string_value().
OCTAVE_EXPORT octave_value_list F__ftp_dir__ | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 674 of file urlwrite.cc.
References octave_map::assign(), url_transfer::dir(), error(), error_state, url_transfer::get_fileinfo(), ch_manager::get_object(), url_transfer::is_valid(), Array< T >::length(), octave_value::length(), and url_transfer::list().
OCTAVE_EXPORT octave_value_list F__ftp_mget__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 1099 of file urlwrite.cc.
References action_container::add_fcn(), delete_file(), file_ops::dir_sep_str(), action_container::discard(), error(), error_state, url_transfer::get(), url_transfer::get_fileinfo(), ch_manager::get_object(), url_transfer::good(), url_transfer::is_valid(), url_transfer::lasterror(), Array< T >::length(), octave_value::length(), url_transfer::list(), glob_match::match(), url_transfer::mget_directory(), and octave_value::string_value().
OCTAVE_EXPORT octave_value_list F__ftp_mkdir__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 937 of file urlwrite.cc.
References error(), error_state, ch_manager::get_object(), url_transfer::is_valid(), octave_value::length(), url_transfer::mkdir(), and octave_value::string_value().
OCTAVE_EXPORT octave_value_list F__ftp_mode__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 839 of file urlwrite.cc.
References error(), error_state, ch_manager::get_object(), url_transfer::is_ascii(), url_transfer::is_valid(), and octave_value::length().
OCTAVE_EXPORT octave_value_list F__ftp_mput__ | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 1008 of file urlwrite.cc.
References string_vector::append(), error(), error_state, base_file_stat::exists(), ch_manager::get_object(), glob_match::glob(), url_transfer::good(), base_file_stat::is_dir(), url_transfer::is_valid(), url_transfer::lasterror(), Array< T >::length(), octave_value::length(), url_transfer::mput_directory(), url_transfer::put(), octave_value::string_value(), and file_ops::tilde_expand().
OCTAVE_EXPORT octave_value_list F__ftp_pwd__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 608 of file urlwrite.cc.
References error(), error_state, ch_manager::get_object(), url_transfer::is_valid(), octave_value::length(), and url_transfer::pwd().
OCTAVE_EXPORT octave_value_list F__ftp_rename__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 972 of file urlwrite.cc.
References error(), error_state, ch_manager::get_object(), url_transfer::is_valid(), octave_value::length(), url_transfer::rename(), and octave_value::string_value().
OCTAVE_EXPORT octave_value_list F__ftp_rmdir__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 902 of file urlwrite.cc.
References error(), error_state, ch_manager::get_object(), url_transfer::is_valid(), octave_value::length(), url_transfer::rmdir(), and octave_value::string_value().
OCTAVE_EXPORT octave_value_list Furlread | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 483 of file urlwrite.cc.
References error(), error_state, url_transfer::good(), url_transfer::http_action(), url_transfer::lasterror(), octave_value_list::length(), Array< T >::numel(), and print_usage().
OCTAVE_EXPORT octave_value_list Furlwrite | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 331 of file urlwrite.cc.
References action_container::add_fcn(), delete_file(), action_container::discard(), error(), error_state, url_transfer::good(), url_transfer::http_action(), url_transfer::lasterror(), octave_value_list::length(), octave_env::make_absolute(), Array< T >::numel(), and print_usage().
Definition at line 226 of file urlwrite.cc.
Referenced by ch_manager::do_free(), and ch_manager::do_get_handle().