Skip to content

Error in cp.remote: .... scp failed: running command ... 2>&1 ' had status 1 #3

@MrLocuace

Description

@MrLocuace

Hello, I am trying to export a file from a remote server to my local machine using the following command:

library(ssh.utils)
cp.remote(remote.src = "luc@XXX.XXX.XX.XX",
path.src = "/data/luc/files/file1.txt",
remote.dest = "",
path.dest = "/Users/luc/Dropbox/data/trees")

but I get the following error:

Error in cp.remote(remote.src = "luc@XXX.XXX.XX.XX", path.src = "/data/luc/files/file1.txt", :
scp failed: running command 'scp luc@XXX.XXX.XX.XX:/data/luc/files/file1.txt /Users/luc/Dropbox/data/trees 2>&1 ' had status 1

Do you have any idea about what I am doing wrong?

Thanks very much !!

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