On Thu, May 21, 2009 at 4:05 PM, Guglielmo Bondioni
<[email protected]> wrote:
> lftp :~> open http://localhost:12345/
> [...]
> 476 bytes transferred
> lftp localhost:/>
And entering the "foo bar" directory:
$ lftp
lftp :~> open http://localhost:12345/foo%20bar/
cd ok, cwd=/foo bar
lftp localhost:/foo bar> cat ""
<head><title>localhost:12345/foo bar/</title></head>
<body bgcolor=white text=black link=darkblue vlink=firebrick alink=red>
<h1>listing:
<a href="/">/</a><a href="/foo%20bar/">foo bar/</a></h1><hr noshade size=1><pre>
<b>access      user      group     date             size  name</b>

drwxr-xr-x  user      user      May 21 08:09    &lt;DIR&gt;  <a
href="../">..</a>
-rw-r--r--  user      user      May 21 08:09     0  B  <a href="baz">baz</a>
</pre><hr noshade size=1>
<small><a href="http://bytesex.org/webfs.html";>webfs/1.21</a> &nbsp;
21/May/2009 14:02:31 GMT</small>
</body>
583 bytes transferred
lftp localhost:/foo bar>

I don't know if it's relevant, but while this output contains a link
to the directory itself (<a href="/foo%20bar/">foo bar/</a>), apache's
output doesn't.

G.

Reply via email to