[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #60387] ftp class method 'dir' extremely slow
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #60387] ftp class method 'dir' extremely slow |
Date: |
Tue, 13 Apr 2021 12:57:29 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
Follow-up Comment #5, bug #60387 (project octave):
Yes, Dmitri is correct.
It is not slow when just asking for the output to be printed to the terminal
as that is just a single ftp server transaction.
When requesting output as a struct, it is getting the list of files (one ftp
server interaction) then iterating through the list to get file info from the
server. Is there a more efficient way to use the cURL library to do this job?
How is the cURL library actually getting the file dates and times? Is it
really asking the server for that info directly or is it just parsing the
output of a DIR command? If the latter, then I think we should just be doing
that job so it can be done for a set of files all at once after *one* server
interaction.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60387>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #60387] ftp class method 'dir' extremely slow, Muhali, 2021/04/13
- [Octave-bug-tracker] [bug #60387] ftp class method 'dir' extremely slow, Dmitri A. Sergatskov, 2021/04/13
- [Octave-bug-tracker] [bug #60387] ftp class method 'dir' extremely slow, Rik, 2021/04/13
- [Octave-bug-tracker] [bug #60387] ftp class method 'dir' extremely slow, Dmitri A. Sergatskov, 2021/04/13
- [Octave-bug-tracker] [bug #60387] ftp class method 'dir' extremely slow, Rik, 2021/04/13
- [Octave-bug-tracker] [bug #60387] ftp class method 'dir' extremely slow,
John W. Eaton <=
- [Octave-bug-tracker] [bug #60387] ftp class method 'dir' extremely slow, John W. Eaton, 2021/04/13
- [Octave-bug-tracker] [bug #60387] ftp class method 'dir' extremely slow, Rik, 2021/04/13
- [Octave-bug-tracker] [bug #60387] ftp class method 'dir' extremely slow, Rik, 2021/04/13
- [Octave-bug-tracker] [bug #60387] ftp class method 'dir' extremely slow, Rik, 2021/04/13
- [Octave-bug-tracker] [bug #60387] ftp class method 'dir' extremely slow, John W. Eaton, 2021/04/13
- [Octave-bug-tracker] [bug #60387] ftp class method 'dir' extremely slow, Rik, 2021/04/13
- [Octave-bug-tracker] [bug #60387] ftp class method 'dir' extremely slow, Rik, 2021/04/13
- [Octave-bug-tracker] [bug #60387] ftp class method 'dir' extremely slow, John W. Eaton, 2021/04/14
- [Octave-bug-tracker] [bug #60387] ftp class method 'dir' extremely slow, Rik, 2021/04/14
- [Octave-bug-tracker] [bug #60387] ftp class method 'dir' extremely slow, Rik, 2021/04/17