add truncate to webdav