# HG changeset patch # User Olaf Wintermann # Date 1531240972 -7200 # Node ID 99c26b1b732724463016874e5cd783d3d5d8ab4f # Parent 70c7d8e437f92de98395030bda083a812fdc8c7f improves compatibility with owncloud/nextcloud when uploading files diff -r 70c7d8e437f9 -r 99c26b1b7327 libidav/resource.c --- a/libidav/resource.c Thu Jun 28 21:41:05 2018 +0200 +++ b/libidav/resource.c Tue Jul 10 18:42:52 2018 +0200 @@ -988,7 +988,7 @@ return 0; } - if(status == 403 || status == 409) { + if(status == 403 || status == 409 || status == 404) { // create intermediate collections if(create_ancestors(res->session, res->href, res->path)) { return 1;