Skip to content

cpFromPod results in Error: Unexpected end of data #2663

@sachiniyer

Description

@sachiniyer

Describe the bug
cpFromPod results in errors when I r

Client Version
the latest commit on main

Server Version
e.g. v1.34.0

To Reproduce
run cpFromPod on any file in the container.

Expected behavior
I expect to see that there is a file copied to my local filesystem when I use cpFromPod

Example Code

    await cp.cpFromPod(
        'default', 
        'test-pod', 
        'test-pod',
        'test.txt',
        targetDir,
        '/tmp'
    );

Environment (please complete the following information):

  • OS: Linux
  • Node.js: v22.13.0

Additional context
N/A

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