When I use CURLSMBS to download a file using SFTP, the various arguments to the Progress event (percent, dlnow, dltotal) hold useful values. When I download a directory listing, however, these values are always 0. My app needs to download very large directory listings and I’d like to be able to display an informative progress bar. Is this a limitation of the MBS CURLS implementation, or of CURLS itself?
In a related question, is it possible to download a directory listing one line at a time? If this were the case then I wouldn’t need to download the whole thing in most cases.