OwnCloud sync did not work for me. In OwnCloud, the result was that there was a leading '/' before the link (eg. "/public/webdav/FILENAME"). In getOwncloudFiles.sh, another / is added at the start of the link. The resulting link will be like this: SERVER//public.php/webdav/FILENAME. This results in an error. To prevent this, the leading '/' needs to be removed (if it exists).
Also solve issue where the filenames saved with a percent-encoded filename. Percent-decode filename before saving.
OwnCloud sync did not work for me. In OwnCloud, the result was that there was a leading '/' before the link (eg. "/public/webdav/FILENAME"). In getOwncloudFiles.sh, another / is added at the start of the link. The resulting link will be like this: SERVER//public.php/webdav/FILENAME. This results in an error. To prevent this, the leading '/' needs to be removed (if it exists).
Also solve issue where the filenames saved with a percent-encoded filename. Percent-decode filename before saving.