comparison libinterp/corefcn/urlwrite.cc @ 19194:432ffa35de13 stable

doc: Fix dead link in urlwrite/urlread docstring (bug #43082). * urlwrite.cc (Furlwrite, Furlread): Change dead leak to active one: ftp://ftp.octave.org/pub/README.
author Nir Krakauer < nkrakauer@ccny.cuny.edu>
date Thu, 25 Sep 2014 20:08:23 -0700
parents af04b9d9f7ed
children 6443693a176f
comparison
equal deleted inserted replaced
19140:203431f40cb2 19194:432ffa35de13
297 Download a remote file specified by its @var{url} and save it as\n\ 297 Download a remote file specified by its @var{url} and save it as\n\
298 @var{localfile}. For example:\n\ 298 @var{localfile}. For example:\n\
299 \n\ 299 \n\
300 @example\n\ 300 @example\n\
301 @group\n\ 301 @group\n\
302 urlwrite (\"ftp://ftp.octave.org/pub/octave/README\",\n\ 302 urlwrite (\"ftp://ftp.octave.org/pub/README\",\n\
303 \"README.txt\");\n\ 303 \"README.txt\");\n\
304 @end group\n\ 304 @end group\n\
305 @end example\n\ 305 @end example\n\
306 \n\ 306 \n\
307 The full path of the downloaded file is returned in @var{f}. The\n\ 307 The full path of the downloaded file is returned in @var{f}. The\n\
460 @deftypefnx {Loadable Function} {[@dots{}] =} urlread (@var{url}, @var{method}, @var{param})\n\ 460 @deftypefnx {Loadable Function} {[@dots{}] =} urlread (@var{url}, @var{method}, @var{param})\n\
461 Download a remote file specified by its @var{url} and return its content\n\ 461 Download a remote file specified by its @var{url} and return its content\n\
462 in string @var{s}. For example:\n\ 462 in string @var{s}. For example:\n\
463 \n\ 463 \n\
464 @example\n\ 464 @example\n\
465 s = urlread (\"ftp://ftp.octave.org/pub/octave/README\");\n\ 465 s = urlread (\"ftp://ftp.octave.org/pub/README\");\n\
466 @end example\n\ 466 @end example\n\
467 \n\ 467 \n\
468 The variable @var{success} is 1 if the download was successful,\n\ 468 The variable @var{success} is 1 if the download was successful,\n\
469 otherwise it is 0 in which case @var{message} contains an error\n\ 469 otherwise it is 0 in which case @var{message} contains an error\n\
470 message. If no output argument is specified and an error occurs,\n\ 470 message. If no output argument is specified and an error occurs,\n\