if(was_directory && showdir)
{
// we could chdir to the dir, but we should not get dir listing
FileInfo *fi = new FileInfo(dir);
fi->SetType(fi->DIRECTORY);
prepend_path=false;
result = new FileSet;
result->Add(fi);
state=DONE;
return MOVED;
}
"cls -ld" alone worked properly, ie
02:46pm [EMAIL PROTECTED]/6 [~/lftp/src] ./lftp 0
lftp 0:~> cd cs
---- Connecting to 0 (0.0.0.0) port 21
cd ok, cwd=/cs
lftp 0:/cs> cls -ld
drwxr-xr-x 4 glenn users 68 Dec 9 04:14 ./
for comparison:
03:02pm [EMAIL PROTECTED]/2 [~ftp/cs] ls -ld
drwxr-xr-x 4 glenn users 68 Dec 8 23:14 ./
which was really nice. Is this for the http HEAD problem? I havn't
looked at that; perhaps making directory-type caching work for that
would help? (not sure, the concept of a "directory" is gone with http
...)
--
Glenn Maynard