Upload file in PHP using DAV Protocol
Question
Can someone please advise on uploading a file using the DAV protocol in PHP? I have had a look around the web and everything seems pretty over-complicated.
I will need to be uploading image files server side after user upload to a directory over DAV - is there a good PHP class avaliable to do this?
Thanks!
Solution
Have a look to WebDAV Client Pear package, which implements a nice stream wrapper.
OTHER TIPS
Also, you can take a look at SabreDAV, which is (unlike Pear's library) more regularly updated and implements new workarounds regarding Windows Vista & 7.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow