[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ftp from within octave?
From: |
John W. Eaton |
Subject: |
ftp from within octave? |
Date: |
Wed, 24 Jan 2007 14:50:55 -0500 |
On 24-Jan-2007, Andres Sepulveda wrote:
| I need to ftp some data as part of an octave program. The name of the
| file to dowload will be built within octave with
|
| aux1=datenum(2006,12,23);
| aux2=datestr(aux1,'yyyymmdd');
| filename=['rtg_sst_hr_grb_0.083.' aux2];
|
| in Matlab there is the option to do
|
| tst=ftp('polar.ncep.noaa.gov')
| cd(tst,'pub/history/ssh/ophi')
| mget(tst,filename)
|
| Is there a way to implement wget from within Octave, instead?
The next major version of Octave will have urlread and urlwrite
functions so you can do things like
urlwrite ("ftp://ftp.octave.org/pub/octave/README", "/tmp/README.octave");
jwe