Lars Viklund <z...@acc.umu.se> writes:

> On Wed, Dec 03, 2014 at 04:30:53PM +1000, Paul Rankin wrote:
>> When attempting to delete a file on a WebDAV connection to a server I
>> get:
>> 
>>     Operation not supported: 400 Bad Request (DELETE)
>> 
>> The delete operation works if I use FTP instead.
>> 
>> Is this a limitation of the current WebDAV implementation, or something
>> going wrong with the server?
>
> What lftp version is this?

4.6.0 via homebrew

> What kind of WebDAV backend are you using, and are you authorized to
> perform this action?

I'm using FastMail's file storage. They provide WebDAV and FTP/S access.

The files are -rw-r--r-- so I ought to be able to delete right? I can
delete via FTP and via OS X's Finder WebDAV client, all using the same
server/username/password, so I gotta assume I'm authorised.

Sorry I don't know anything more about the server backend.

> On my site we use Jetty and Milton, and lftp 4.3.3 can DELETE fine.
>
> lftp example.com:/ops/zao> rm foo.s
> ---- dns cache hit
> ---- Connecting to example.com (10.0.0.1) port 443
> ---- Sending request...
> ---> DELETE /ops/zao/foo.s HTTP/1.1
> ---> Host: example.com
> ---> User-Agent: lftp/4.3.3
> ---> Accept: */*
> ---> Depth: 0
> ---> Connection: keep-alive
> --->
> ***snip certificates***
> <--- HTTP/1.1 204 No Content
> <--- Server: milton.io-2.0.0
> <--- Date: Wed, 03 Dec 2014 07:43:17 GMT
> <--- Accept-Ranges: bytes
> <--- ETag: "0000A73292177EA5491A981A6C6C6E7AA862_253383220"
> <---
> ---- Receiving body...
> rm ok, `foo.s' removed
> lftp example.com:/ops/zao>

How do you get this level of verbosity within interactive mode? Maybe
that could help me troubleshoot.

Thanks.
_______________________________________________
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp

Reply via email to