FTP functions
Xavier Delacour
xavier.delacour at gmail.com
Mon Mar 24 16:09:29 CDT 2008
I've checked in an ftp package to octave forge. It implements
ascii, binary, ftp, mget, mput,
ftp_cd, ftp_remove, ftp_rename, ftp_put, ftp_get, ftp_mkdir,
ftp_rmdir, ftp_ls, ftp_dir.
They're bindings to ftplib-- a standard debian package, though small
enough to include directly into octave-forge if that is preferred.
The ftp_* prefix is necessary since Octave does not have overloading
based on first argument. One can also call these functions as
C++-style members, eg,
f=ftp("ftp.gnu.org");
f.cd("gnu/gcc");
d=f.ls();
Is MATLAB style OOP being done for 3.1, or do portions already exist?
(eg, could the SWIG runtime register class methods, even if all the
syntax is not ready?)
Xavier
More information about the Help-octave
mailing list