mandarons / icloudpy

iCloud web service interface library in Python
Other
179 stars 17 forks source link

[BUG] JSON files not backup properly #30

Closed tymmej closed 11 months ago

tymmej commented 1 year ago

Describe the bug Syncing json files produce 0B files.

To Reproduce Add json file to drive and sync

Expected behavior json files backed up properly

Screenshots No screenshots, just logs.

2023-08-23 10:12:38,971 :: INFO :: root :: sync_drive.py :: 213 :: Processing /app/icloud/drive/Documents/ArqFileSelections.json
2023-08-23 10:12:38,972 :: DEBUG :: root :: sync_drive.py :: 138 :: Changes detected: local_modified_time is 1671911999, remote_modified_time is 1671911999, local_file_size is 0 and remote_file_size is 4298.
2023-08-23 10:12:38,972 :: INFO :: root :: sync_drive.py :: 188 :: Downloading /app/icloud/drive/Documents/ArqFileSelections.json ...
[...]
2023-08-23 10:12:39,766 :: DEBUG :: urllib3.connectionpool :: connectionpool.py :: 473 :: https://cvws.icloud-content.com:443 "GET [...] HTTP/1.1" 200 4298

Configuration Not applicable

Additional context Add any other context about the problem here.

tymmej commented 11 months ago

Fix is in icloud-drive-docker: https://github.com/mandarons/icloud-drive-docker/pull/160