Skip to content
This repository was archived by the owner on Aug 18, 2026. It is now read-only.
This repository was archived by the owner on Aug 18, 2026. It is now read-only.

File copy doesn't work with local files #152

Description

@massijay

I can't copy a file using web gui if the source or destination is a local path (this does not affect directory copy).
I see that the problem is using the rclone API copyfile, with local paths dstFs or srcFs parameter (for downloading or uploading respectively) is an empty string but it should be "/".
Example:
Current behavior:

{
    "_async": true,
    "srcFs": "gdrive:",
    "srcRemote": "folder/file.txt",
    "dstFs": "",
    "dstRemote": "/home/test/file.txt"
}

Correct behavior should be:

{
    "_async": true,
    "srcFs": "gdrive:",
    "srcRemote": "folder/file.txt",
    "dstFs": "/",
    "dstRemote": "/home/test/file.txt"
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions