Sorry guys should have given my version it's 3.7.4 lftp running under Arch Linux. Anyways have applied the patch and here is what it gives:
lftp [EMAIL PROTECTED]:/foobar> ls ---- path on wire is `/foobar' ---> sending a packet, length=16, type=11(OPENDIR), id=7 <--- got a packet, length=22, type=102(HANDLE), id=7 ---- got file handle 4F70656E44697248616E646C65 (13) ---> sending a packet, length=22, type=12(READDIR), id=8 <--- got a packet, length=575, type=104(NAME), id=8 ---- file name count=5 ---- NameAttrs(name=".",type=2,longname="drw-rw-rw 1 root root 0 Aug 17 11:56 .") ---- NameAttrs(name="..",type=2,longname="drw-rw-rw 1 root root 0 Aug 17 11:56 ..") ---- NameAttrs(name="7z445.exe",type=5,longname="-rw-rw-rw 1 root root 842384 May 1 20:20 7z445.exe") ---- NameAttrs(name="putty.exe",type=5,longname="-rw-rw-rw 1 root root 438272 Aug 12 23:28 putty.exe") ---- NameAttrs(name="UnRegisterRafExt.BAT",type=5,longname="-rw-rw-rw 1 root root 24 Aug 17 11:56 UnRegisterRafExt.BAT") ---> sending a packet, length=22, type=12(READDIR), id=9 ---> sending a packet, length=22, type=12(READDIR), id=10 <--- got a packet, length=9, type=101(STATUS), id=9 ---- status code=1(EOF), message=NULL ---- eof copy: get hit eof copy: waiting for put confirmation drw-rw-rw 1 root root 0 Aug 17 11:56 . drw-rw-rw 1 root root 0 Aug 17 11:56 .. copy: put confirmed store copy: get is finished - all done ---> sending a packet, length=22, type=4(CLOSE), id=11 <--- got a packet, length=9, type=101(STATUS), id=10 ---- status code=1(EOF), message=NULL <--- got a packet, length=9, type=101(STATUS), id=11 ---- status code=0(OK), message=NULL lftp [EMAIL PROTECTED]:/foobar> If I run with sftp or filezilla or any other sftp clien On Tue, Aug 19, 2008 at 6:24 PM, Alexander V. Lukyanov <[EMAIL PROTECTED]> wrote: > On Mon, Aug 18, 2008 at 02:44:31PM +1000, Paul Wickham wrote: > > <--- got a packet, length=1676, type=104(NAME), id=8 > > ---- file name count=15 > > drw-rw-rw 1 root root 0 Aug 18 11:48 . > > drw-rw-rw 1 root root 0 Aug 18 11:48 .. > > I suspect the rest of 15 file entries were invalid in some way. > Please apply this patch and redo the ls with debug 10. > > -- > Alexander. >
