mirror of
https://github.com/rclone/rclone.git
synced 2026-07-13 01:02:15 -04:00
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>