Nick Craig-Wood
ddbc886395
drime: fix files being uploaded to the wrong directory
...
Large files (sent as multipart uploads) were placed in the wrong folder
for two reasons:
- the parent folder was sent as "parent_id", but the API ignores that
and expects "parentId", so the parent was never honoured
- relativePath was sent as the full path from the drive root, which made
the server build folders from it and silently drop any "0" path
segment (e.g. ".../data/0/file" lost the "0")
Send the parent as "parentId" and use just the leaf as relativePath,
matching the working single-part upload. This also lets us remove the
now-unneeded absolute-path resolution code.
Fixes #9392
Co-authored-by: Brian King <BrianDKing@gmail.com >
2026-06-03 17:51:47 +01:00
..
2024-08-08 13:41:31 +01:00
2026-05-01 13:41:07 +01:00
2026-04-13 12:48:38 +01:00
2026-04-13 18:05:52 +01:00
2026-04-24 15:55:53 +01:00
2026-03-03 14:01:11 +00:00
2025-11-18 16:09:06 +00:00
2026-04-19 13:31:27 +01:00
2025-06-12 18:31:01 +01:00
2026-05-08 15:07:27 +01:00
2025-09-14 15:58:20 +01:00
2025-11-04 14:50:56 +00:00
2025-11-27 14:42:11 +00:00
2026-01-18 20:48:33 +01:00
2026-06-03 17:51:47 +01:00
2026-02-26 12:37:10 +00:00
2025-11-12 15:54:01 +00:00
2024-09-06 18:20:10 +01:00
2025-02-28 11:31:14 +00:00
2026-02-16 17:45:42 +00:00
2026-04-10 20:46:55 +01:00
2025-02-28 11:31:14 +00:00
2026-01-09 16:10:02 +00:00
2025-05-27 14:28:25 +01:00
2025-12-01 19:04:02 +00:00
2026-02-18 12:11:52 +00:00
2025-11-04 23:00:46 +01:00
2025-07-31 11:38:51 +01:00
2025-02-28 11:31:14 +00:00
2026-02-18 12:11:52 +00:00
2026-05-01 13:41:07 +01:00
2026-04-27 16:55:31 +01:00
2026-01-08 12:05:37 +00:00
2025-09-04 10:37:27 +01:00
2026-04-24 17:20:18 +01:00
2026-05-22 12:48:37 +01:00
2025-06-24 15:04:45 +01:00
2026-04-08 08:49:42 +01:00
2026-03-24 10:17:36 +00:00
2026-02-18 12:11:52 +00:00
2026-04-20 13:37:45 +01:00
2025-12-17 10:21:12 +00:00
2025-11-04 23:00:46 +01:00
2026-02-18 12:11:52 +00:00
2025-02-28 11:31:14 +00:00
2026-01-09 16:10:02 +00:00
2026-04-20 12:16:10 +01:00
2026-02-18 12:11:52 +00:00
2024-08-12 13:35:44 +01:00
2025-07-31 11:38:51 +01:00
2026-05-22 12:48:37 +01:00
2025-02-28 11:31:14 +00:00
2025-04-08 15:14:00 +01:00
2025-09-15 12:45:57 +01:00
2026-05-22 12:48:37 +01:00
2026-01-08 12:05:37 +00:00
2026-04-09 17:00:45 +01:00
2026-02-18 12:11:52 +00:00
2026-02-18 12:11:52 +00:00
2025-02-28 11:31:14 +00:00
2025-09-22 15:33:44 +01:00
2024-04-22 19:29:12 +02:00
2025-02-28 11:31:14 +00:00
2026-01-18 20:48:33 +01:00
2025-11-10 15:56:06 +00:00
2025-09-14 15:58:20 +01:00
2026-05-22 12:48:37 +01:00
2025-11-13 13:47:40 +00:00
2026-02-18 12:11:52 +00:00