Forked just to make a this module a little more generic.
Added 204 response in checkResponse because owncloud responds with a 204 (Ok but nothing to respond) on delete.
Every href treated must be url_quoted before.
DownloadTo creates all the needed directories.
Added method exists so we can check if a given href already exists.
Changed the name of the module