[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FTP functions
From: |
Xavier Delacour |
Subject: |
FTP functions |
Date: |
Mon, 24 Mar 2008 17:09:29 -0400 |
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
- FTP functions,
Xavier Delacour <=