|
From: | John W. Eaton |
Subject: | [Octave-bug-tracker] [bug #60387] ftp class method 'dir' extremely slow |
Date: | Wed, 14 Apr 2021 13:57:43 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
Follow-up Comment #13, bug #60387 (project octave): The attached example program (adapted from one I downloaded from the cURL web pages) appears to get accurate size and timestamp info without actually downloading the files. It is faster than what we are doing in Octave but still slow. I see about 14s for this program vs. 40 for Octave. So probably the only good option for speed is to parse the output from a directory listing, but AFAIK, there is no uniform format for that output from an ftp server. (file #51265) _______________________________________________________ Additional Item Attachment: File name: ftpgetinfo.cc Size:5 KB <https://file.savannah.gnu.org/file/ftpgetinfo.cc?file_id=51265> _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?60387> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |