I would like to have the following curl request generated using php CURL library for webdav.
curl -n -X MOVE "http://localhost/ocm/remote.php/webdav/dir1/subdir" -H "Destination: http://localhost/ocm/remote.php/webdav/dir1/"
Please help
Go through this..It shows all the curl option available to use in PHP along with examples...