It seems that when a filename has been cached and then the file is deleted from outside the directory it's located in, the cache doesn't get updated.

lftp [EMAIL PROTECTED]:/> rmdir test/empty-dir/
---- Connecting to ravenscall.net (209.25.134.190) port 21
<--- 220 ProFTPD 1.2.9 Server (50free.org) [209.25.134.190]
---> AUTH TLS
<--- 500 AUTH not understood
---> USER skywatcher
<--- 331 Password required for skywatcher.
---> PASS XXXX
<--- 230 User skywatcher logged in.
---> RMD test/empty-dir/
<--- 250 RMD command successful
rmdir ok, `test/empty-dir/' removed
lftp [EMAIL PROTECTED]:/> cd test
lftp [EMAIL PROTECTED]:/test> ls
drwxr-xr-x   2 skywatcher vusers         48 Mar  4 09:49 empty-dir
lftp [EMAIL PROTECTED]:/test> cd empty-dir/
lftp [EMAIL PROTECTED]:/test/empty-dir> ls
---> CWD /test/empty-dir
<--- 550 /test/empty-dir: No such file or directory
ls: Access failed: 550 /test/empty-dir: No such file or directory
lftp [EMAIL PROTECTED]:/test/empty-dir> cd ..
lftp [EMAIL PROTECTED]:/test> ls
drwxr-xr-x   2 skywatcher vusers         48 Mar  4 09:49 empty-dir
lftp [EMAIL PROTECTED]:/test>

Reply via email to