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: Allan Jacobs
Subject: [Octave-bug-tracker] [bug #42430] @ftp/mget ignores target argument
Date: Mon, 26 May 2014 16:03:13 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/34.0.1847.116 Chrome/34.0.1847.116 Safari/537.36

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

                 Summary: @ftp/mget ignores target argument 
                 Project: GNU Octave
            Submitted by: allanjacobs
            Submitted on: Mon 26 May 2014 04:03:12 PM GMT
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: allanjacobs
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

mget(ftpobj,contents,target) ignores 'target.'  According to Matlab
documentation, this is a "string enclosed in single quotation marks that
specifies the absolute or relative path of the local folder to contain the
downloaded contents."


f=ftp('ftp.gnu.org','anonymous','address@hidden')
cd(f,'/gnu/Licenses')
cd('tmp')
ascii(f)
mget(f, 'lgpl-3.0.txt', 'junk.txt')


The file is downloaded into tmp/lgpl-3.0.txt and should be downloaded into
tmp/junk.txt.


$ hg summary
parent: 18782:5556ddfb841b tip
 spdiags.m: Treat sub/super-diagonals the same as Matlab.
branch: default
bookmarks: *@
commit: 7477 unknown (clean)
update: (current)





    _______________________________________________________

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]