I've attached a text file that is the result of running "quote STAT .
> lftp.out" on a drftpd server.

I would just like to note a few things i noticed while playing with the output:

Drftpd seems to always have "total 0" at the top of the list no matter
what. This behavior is different from all other servers I have seen,
but this happens using both STAT and LIST (which caches properly), so
I doubt it is causing the issue.

Other servers that I've seen using STAT for list have "status of .:"
at the top of the list while drftpd has "Status of .:" (note the
capital 's').  I don't know if this could be causing problems with
parsing, but I thought I should mention it.

Lastly, I found hardly any significant difference between the list
output when using STAT vs LIST. A diff of the output from each always
results in:

0a1
> 213- Status of .:
7a9
> 213 End of Status

This leads me to conclude that the list IS a known UNIX ls format.
Unfortunately this makes the problem more difficult to find.

> > All others I've tested are properly caching the list for use with tab
> > completion. Because of this I can only speculate that it may have
> > something to do with PRET, a feature exclusive to drftpd.

I no longer believe this to be true because I tried turning off FEAT
so lftp didn't detect that PRET was needed, but the problem persisted.


Thanks for the reply,

- Kyle


On Fri, Sep 4, 2009 at 10:58 AM, Alexander V. Lukyanov <l...@netis.ru> wrote:
>
> On Wed, Aug 26, 2009 at 06:32:25AM -0500, Kyle Thurow wrote:
> > Also, if you repeat the steps above but use "cls" instead of "ls" you will
> > see the following output:
> >
> > ---> STAT .
> > <--- 213 End of Status
> > ---> PROT P
> > <--- 200 Command okay
> > ---> PRET NLST
> > ---> PASV
> > ---> NLST
> > <--- 200 OK, will use master for upcoming transfer
>
> This means that lftp could not parse all lines of STAT output.
> Probably there are lines which do not fit into known UNIX ls format.
> Please send me output of "quote STAT ." command and I'll try to fix it.
>
> --
>   Alexander..

Attachment: lftp.out
Description: Binary data

Reply via email to