cURL / Mailing Lists / curl-library / Single Mail


Re: sftp directory listing

From: Dan Fandrich <>
Date: Thu, 21 Aug 2008 15:39:40 -0700

On Thu, Aug 21, 2008 at 11:07:49PM +0200, Daniel Stenberg wrote:
> SFTP actually provides the dir info in pure binary, so what you get is
> libcurl's conversion to "FTP-like" output. Yes the code could certainly be
> made to output something different, but if we would add such an option I
> would also suggest that we then introduce a more fixed and documented
> format so that clients can parse it easier.
> But no, there's no currently available option to do this.

I thought that in some cases the formatted directory listing output was
sent by the remote server. That's the reason for the postprocessing step
(and the associated comment) in

>>> Dan

--              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-08-22