HTTP::DAV for WebDAV handling in Perl

less than 1 minute read

I’m currently working on a project where I create a dump file from a data structure using Storable to do the actual dump. This file needs to be exchanged afterwards.

I already thought about an email attachment or uploading the file via FTP, but then I remembered the WebDAV enabled server at my fingertips. Yes, that’s the sort of challenge I want to face.

A short search at CPAN and it got crystal clear that HTTP::DAV would be the right module for me. It’s working on top of LWP and implements a very intuitive and clean interface for WebDAV connections.

It works very fine, except a bug in 0.35 in conjunction with recent LWP version that makes trouble with authentication.