Hi all,
I've spent some time investigating and clearing some snags on the webdav plugin today. 2 main ones:
1) Plesk - This seems to tamper with the auth headers which get sent from most webdav clients so the plugin doesn't correctly authenticate the user. I've found something you can add to the .htaccess file which allows for it though. See the advice relating to Plesk here - https://support.mfscripts.com/public/kb_view/49/
2) PHP5.5+ introduced a new function called curl_file_create() for handling file uploads via Curl. Previously we could tell Curl about a file upload like this:
Code:
$data = array(
'uploaded_file' => '@'.$tmpFilePath.';filename='.$filename,
);
$ch = curl_init();
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
// ...
curl_exec($ch);
The '@' is no longer valid later PHP versions you have to use the curl_file_create() function. I've amended the WebDav code to allow for both older and newer versions.
If you've previously had issues with the plugin I'd recommending re-downloading it and trying again. Note that it will only work with the latest v4.3 release code.
Thanks,
Adam.