octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #42430] @ftp/mget ignores target argument


From: John Donoghue
Subject: [Octave-bug-tracker] [bug #42430] @ftp/mget ignores target argument
Date: Sun, 27 Jul 2014 20:16:20 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0

Follow-up Comment #2, bug #42430 (project octave):

Looking at the code, its pretty easy to pass the 3rd argument if specified.

In the C function __ftp_mget__, in urlwrite.cc has the supporting code for the
destination, but expects it to be a directory to put the files/directories.

According to MATLAB, for the same function, it is documented as a absolute
local path name to put the files.  

The Octave documentation says:

"if the target is given, then a single file or directory will be downloaded to
the local directory and the local name will be changed to target.


So should this function be following the MATLAB function, and require a change
to the documentation, or changes to the code to support target filenames.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42430>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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