scp: scp

Description Usage Details See Also

View source: R/ssh_scp.R

Description

scp Uses system scp through ssh connection to move a file from connected server to a different server.
This function is exactly the same than scpToOther.

Usage

1
2
3
scp(jShellServer, fromFile, toFile, passRemote, portRemote = "22",
  params = "-q", compression = FALSE,
  bandwithLimit = default.bandwithLimit, RUN = TRUE)

Details

Uses system scp through ssh connection to move a file from connected server to a different server.
To move a whole folder, and all recursive subfolders, use scpToOther or scpFromOther with the following parameters: params="-q -r"

See Also

scpToLocal scpFromLocal
scpToOther scpFromOther
scp


rocalabern/winssh documentation built on May 27, 2019, 12:15 p.m.