fsantini / KoboCloud

A set of scripts to synchronize a kobo reader with popular cloud services
Other
1.01k stars 97 forks source link

Fix OwnCloud #70

Closed VPeeters closed 3 years ago

VPeeters commented 3 years ago

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.

fsantini commented 3 years ago

Thanks!