I get an error "ls: Access failed: No such file" while trying to list a
specific file [debug dump below]. I can upload, download, and delete the
remote file. I can even ls the containing directory, but I cannot ls a
specific file. I've played around with the charset settings to no avail. Are
there any other options I should look at?

lftp [EMAIL PROTECTED]:/test/t> debug
lftp [EMAIL PROTECTED]:/test/t> ls
---- path on wire is `/test/t'
---> sending a packet, length=39, type=11(OPENDIR), id=8
<--- got a packet, length=13, type=102(HANDLE), id=8
---- got file handle 00000000 (4)
---> sending a packet, length=13, type=12(READDIR), id=9
<--- got a packet, length=207, type=104(NAME), id=9
---- file name count=2
---> sending a packet, length=13, type=12(READDIR), id=10
---> sending a packet, length=13, type=12(READDIR), id=11
<--- got a packet, length=28, type=101(STATUS), id=10
---- eof
---> sending a packet, length=13, type=4(CLOSE), id=12
<--- got a packet, length=28, type=101(STATUS), id=11
drwxr-xr-x    2 user    group         4096 Nov  6 09:39 .
drwxrwxr-x    3 user2   auto         4096 Nov  6 09:34 ..
<--- got a packet, length=24, type=101(STATUS), id=12
lftp [EMAIL PROTECTED]:/test/t> put /etc/hosts
---- path on wire is `/test/t/hosts'
---> sending a packet, length=53, type=3(OPEN), id=13
<--- got a packet, length=13, type=102(HANDLE), id=13
---- got file handle 00000000 (4)
---> sending a packet, length=25, type=10(FSETSTAT), id=14
---> sending a packet, length=550, type=6(WRITE), id=15
---> sending a packet, length=25, type=10(FSETSTAT), id=16
---> sending a packet, length=13, type=4(CLOSE), id=17
<--- got a packet, length=24, type=101(STATUS), id=14
<--- got a packet, length=24, type=101(STATUS), id=15
<--- got a packet, length=24, type=101(STATUS), id=16
<--- got a packet, length=24, type=101(STATUS), id=17
525 bytes transferred
lftp [EMAIL PROTECTED]:/test/t> ls
---- path on wire is `/test/t'
---> sending a packet, length=39, type=11(OPENDIR), id=18
<--- got a packet, length=13, type=102(HANDLE), id=18
---- got file handle 00000000 (4)
---> sending a packet, length=13, type=12(READDIR), id=19
<--- got a packet, length=313, type=104(NAME), id=19
---- file name count=3
---> sending a packet, length=13, type=12(READDIR), id=20
---> sending a packet, length=13, type=12(READDIR), id=21
<--- got a packet, length=28, type=101(STATUS), id=20
---- eof
---> sending a packet, length=13, type=4(CLOSE), id=22
<--- got a packet, length=28, type=101(STATUS), id=21
drwxr-xr-x    2 user    group         4096 Nov  6 09:40 .
drwxrwxr-x    3 user2   auto         4096 Nov  6 09:34 ..
-rw-r--r--    1 user    group          525 Oct 26 19:11 hosts
<--- got a packet, length=24, type=101(STATUS), id=22


lftp [EMAIL PROTECTED]:/test/t> ls hosts
---- path on wire is `/test/t/hosts'
---> sending a packet, length=45, type=11(OPENDIR), id=23
<--- got a packet, length=29, type=101(STATUS), id=23
ls: Access failed: No such file (hosts)


lftp [EMAIL PROTECTED]:/test/t> get hosts
---- path on wire is `/test/t/hosts'
---> sending a packet, length=53, type=3(OPEN), id=24
<--- got a packet, length=13, type=102(HANDLE), id=24
---- got file handle 00000000 (4)
---> sending a packet, length=13, type=8(FSTAT), id=25
<--- got a packet, length=37, type=105(ATTRS), id=25
---- file info: size=525, date=Fri Oct 26 19:11:04 2007
---> sending a packet, length=25, type=5(READ), id=26
---> sending a packet, length=25, type=5(READ), id=27
<--- got a packet, length=534, type=103(DATA), id=26
---- data packet: pos=0, size=525
---> sending a packet, length=25, type=5(READ), id=28
<--- got a packet, length=28, type=101(STATUS), id=27
---- eof
---> sending a packet, length=13, type=4(CLOSE), id=29
525 bytes transferred
lftp [EMAIL PROTECTED]:/test/t> rm hosts
<--- got a packet, length=28, type=101(STATUS), id=28
---- path on wire is `/test/t/hosts'
---> sending a packet, length=45, type=13(REMOVE), id=30
<--- got a packet, length=24, type=101(STATUS), id=29
<--- got a packet, length=24, type=101(STATUS), id=30
rm ok, `hosts' removed

Reply via email to