help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

slow urlwrite


From: John W. Eaton
Subject: slow urlwrite
Date: Thu, 11 Oct 2007 13:15:24 -0400

On 11-Oct-2007, GAIL wrote:

| urlwrite is more than 10 times slower than, e.g., wget:
| 
| octave:1> tic ; urlwrite ("ftp://ftp.octave.org/pub/octave/README";, 
"README.txt"); t0 = toc ;
| ftp://ftp.octave.org/pub/octave/README: 100.0 %
| octave:2> tic ; system("wget -q ftp://ftp.octave.org/pub/octave/README";) ; t1 
= toc ;
| octave:3> disp([t0 t1]) ; 
|    191.1800     1.7532
| 
| I wonder why. My system is
| ----------------------------------------------------------------------
| GNU Octave Version 2.9.14
| GNU Octave License: GNU General Public License
| Operating System: Linux 2.4.18-nec3.4p1.045 #1 SMP Mon Apr 9 16:57:17 JST 
2007 ia64
| ----------------------------------------------------------------------
| 
| and I'm using libcurl.so.4.

Did you actually check to see whether the file is downloaded
correctly?

Did you see the comments in

   http://www.nabble.com/urlread-tf4594365.html#a13124586

about anonymous ftp to ftp.octave.org hanging when using urlwrite?  I
still don't know what is causing the trouble.

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]