Created
September 4, 2013 22:06
-
-
Save intel352/6443489 to your computer and use it in GitHub Desktop.
Webdav get last modified (using curl)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -i -X PROPFIND --user 'user:pass' https://someserver.com/webdav/Sites/Logs/ --upload-file - -H "Depth: 1" <<end | |
<?xml version="1.0"?> | |
<a:propfind xmlns:a="DAV:"> | |
<a:prop><a:resourcetype/></a:prop> | |
<a:prop><a:getlastmodified/></a:prop> | |
</a:propfind> | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment