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 !!