Skip to content

Pikpak addurl backend: support for 'name' to support passing a custom name to the file #9111

Closed

Description

@blvdmd

What is your current rclone version (output from rclone version)?

1.72.1

What problem are you are trying to solve?

Pikpak backend 'addurl' - which add offline download task for url does not support passing a new name for the file being submitted currently. And because of this sometimes Pikpak offline downloads the files with garbled names
But pikpak internally supports passing a 'name' : '<Custom_Name>' into the final payload being sent, which overrides the filename determination and the file is downloaded with the passed filename

For example:
{ "kind": "drive#file", "name": "LINUX_RCLONE_LATEST.zip", "upload_type": "UPLOAD_TYPE_URL", "url": { "url": "https://github.com/rclone/rclone/releases/download/v1.72.1/rclone-v1.72.1-linux-arm64.zip" }, "params": { "from": "file" }, "folder_type": "DOWNLOAD", "parent_id": "VOfLxxxxxxxxxxxxxxx" }

Above will download the file with name 'LINUX_RCLONE_LATEST.zip' and not 'rclone-v1.72.1-linux-arm64.zip' as a custom 'name' has been sent in the payload.

How do you think rclone should be changed to solve that?

Support passing an optional 'name' argument to rename the file automatically.

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Activity

  1. wiserain commented on Jan 30, 2026

    @wiserain
    Contributor

    Thanks for the suggestion. I will take a look.

  2. added a commit that references this issue on Feb 2, 2026
    341ce61
  3. wiserain commented on Feb 2, 2026

    @wiserain
    Contributor
  4. blvdmd commented on Feb 3, 2026

    @blvdmd
    Author

    Just tested with couple of links. Seems to be working correctly. Thank you for implementing.

  5. added a commit that references this issue on Feb 10, 2026
    d770343
  6. added a commit that references this issue on Feb 14, 2026
    d9de6c5
  7. added a commit that references this issue on Jul 20, 2026
    3199c8e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions