#include <string>
#include <fstream>
#include <iomanip>
#include "dir-ops.h"
#include "file-ops.h"
#include "file-stat.h"
#include "lo-sysdep.h"
#include "oct-env.h"
#include "oct-handle.h"
#include "glob-match.h"
#include "url-transfer.h"
#include "defun.h"
#include "error.h"
#include "interpreter.h"
#include "oct-map.h"
#include "oct-refcount.h"
#include "ov-cell.h"
#include "ov-classdef.h"
#include "ovl.h"
#include "pager.h"
#include "unwind-prot.h"
#include "url-handle-manager.h"
Go to the source code of this file.
|
static |
Definition at line 56 of file __ftp__.cc.
References octave::sys::unlink().
Referenced by F__ftp_mget__().
OCTAVE_EXPORT octave_value_list F__ftp__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 66 of file __ftp__.cc.
References octave::url_handle_manager::make_url_handle(), octave_stdout, ovl(), print_usage(), and octave_handle::value().
OCTAVE_EXPORT octave_value_list F__ftp_ascii__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 215 of file __ftp__.cc.
References octave::url_transfer::ascii(), error(), octave::url_handle_manager::get_object(), octave::url_transfer::is_valid(), and ovl().
OCTAVE_EXPORT octave_value_list F__ftp_binary__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 236 of file __ftp__.cc.
References octave::url_transfer::binary(), error(), octave::url_handle_manager::get_object(), octave::url_transfer::is_valid(), and ovl().
OCTAVE_EXPORT octave_value_list F__ftp_close__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 257 of file __ftp__.cc.
References error(), octave::url_handle_manager::free(), octave::url_handle_manager::lookup(), octave_handle::ok(), and ovl().
OCTAVE_EXPORT octave_value_list F__ftp_cwd__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 114 of file __ftp__.cc.
References octave::url_transfer::cwd(), error(), octave::url_handle_manager::get_object(), octave::url_transfer::is_valid(), ovl(), and path.
OCTAVE_EXPORT octave_value_list F__ftp_delete__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 297 of file __ftp__.cc.
References octave::url_transfer::del(), error(), octave::url_handle_manager::get_object(), octave::url_transfer::is_valid(), and ovl().
OCTAVE_EXPORT octave_value_list F__ftp_dir__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | nargout | ||
) |
Definition at line 141 of file __ftp__.cc.
References octave_map::assign(), octave::url_transfer::dir(), error(), octave::url_transfer::get_fileinfo(), octave::url_handle_manager::get_object(), octave::url_transfer::is_valid(), octave::url_transfer::list(), n, string_vector::numel(), and retval.
OCTAVE_EXPORT octave_value_list F__ftp_mget__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 457 of file __ftp__.cc.
References octave::action_container::add_fcn(), delete_file(), octave::sys::file_ops::dir_sep_str(), octave::action_container::discard(), error(), octave::url_transfer::get(), octave::url_transfer::get_fileinfo(), octave::url_handle_manager::get_object(), octave::url_transfer::good(), octave::url_transfer::is_valid(), octave::url_transfer::lasterror(), octave::url_transfer::list(), glob_match::match(), octave::url_transfer::mget_directory(), n, string_vector::numel(), octave::sys::ofstream(), and ovl().
OCTAVE_EXPORT octave_value_list F__ftp_mkdir__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 343 of file __ftp__.cc.
References error(), octave::url_handle_manager::get_object(), octave::url_transfer::is_valid(), octave::url_transfer::mkdir(), and ovl().
OCTAVE_EXPORT octave_value_list F__ftp_mode__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 278 of file __ftp__.cc.
References error(), octave::url_handle_manager::get_object(), octave::url_transfer::is_ascii(), octave::url_transfer::is_valid(), and ovl().
OCTAVE_EXPORT octave_value_list F__ftp_mput__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | nargout | ||
) |
Definition at line 390 of file __ftp__.cc.
References string_vector::append(), error(), octave::sys::base_file_stat::exists(), octave::url_handle_manager::get_object(), glob_match::glob(), octave::url_transfer::good(), octave::sys::ifstream(), octave::sys::base_file_stat::is_dir(), octave::url_transfer::is_valid(), octave::url_transfer::lasterror(), octave::url_transfer::mput_directory(), string_vector::numel(), ovl(), octave::url_transfer::put(), and octave::sys::file_ops::tilde_expand().
OCTAVE_EXPORT octave_value_list F__ftp_pwd__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 95 of file __ftp__.cc.
References error(), octave::url_handle_manager::get_object(), octave::url_transfer::is_valid(), ovl(), and octave::url_transfer::pwd().
OCTAVE_EXPORT octave_value_list F__ftp_rename__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 366 of file __ftp__.cc.
References error(), octave::url_handle_manager::get_object(), octave::url_transfer::is_valid(), ovl(), and octave::url_transfer::rename().
OCTAVE_EXPORT octave_value_list F__ftp_rmdir__ | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 320 of file __ftp__.cc.
References error(), octave::url_handle_manager::get_object(), octave::url_transfer::is_valid(), ovl(), and octave::url_transfer::rmdir().