Hi.
Try http:use-propfind. Hftp is for FTP via http proxy.

Jamie

On Mon, Aug 15, 2005 at 09:28:24PM +0200, Michael Kefeder wrote:
> Hi
> 
> I use lftp a lot and its an awesome tool, thanks for developing it. 
> Recently I setup a WebDAV server and I was testing the authentication 
> and if the Limit directives work using lftp as client. What I observed 
> was that lftp sends a PROPFIND command no matter what hftp:use-propfind 
> is set to. According to the man page:
> 
> hftp:use-propfind (boolean)
>           if set to off, lftp will not try to use  `PROPFIND'  to
>           get directory contents with hftp protocol and use `GET'
>           instead. Default is off.
> 
> So my understanding is that it is supposed to not be used by default - 
> which is not true - it first tries PROPFIND and right after that GET. I 
> tried setting hftp:use-propfind on and off in lftp.conf and within a 
> lftp session but it didn't change the behaviour.
> 
> This is not a major bug or anything, I simply allowed the command 
> PROPFIND in my servers config now as a workaround (to keep my errorlog 
> from filling up with false access forbidden messages). Some people don't 
> want to allow PROPFIND though because this makes hidden files (e.g. 
> .htaccess) visible in the directory listings and there are also other 
> concerns iirc.
> 
> I run lftp version 3.2.1 on gentoo linux without any modifcations (no 
> patches or custom lftp.conf). I hope my observations are correct.
> 
> regards
>  Mike

-- 
James Teh
Email: [EMAIL PROTECTED]
WWW: http://www.jantrid.net/jamie/
MSN Messenger: [EMAIL PROTECTED]
Jabber: [EMAIL PROTECTED]
Yahoo: jcs_teh

Reply via email to