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

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

[Octave-bug-tracker] [bug #63851] mget function returns : file not found


From: John Donoghue
Subject: [Octave-bug-tracker] [bug #63851] mget function returns : file not found
Date: Mon, 13 Mar 2023 10:54:29 -0400 (EDT)

Follow-up Comment #7, bug #63851 (project octave):

So running some more tests and the list function is adding (or leaving '\r')
in windows, but not in linux.


Linux:


octave:1> f = ftp('ftp.gnu.org')
f =

  FTP object
    host: ftp.gnu.org
    user: anonymous
     dir: /
    mode: binary

octave:2> x = dir(f)
x =

  19x1 struct array containing the fields:

    name
    date
    bytes
    isdir
    datenum

octave:3> uint8(x(1).name)
ans =

  67  82  89  80  84  79  46  82  69  65  68  77  69


In windows:


octave:3> uint8(x(1).name)
ans =

  67  82  89  80  84  79  46  82  69  65  68  77  69 13





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63851>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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