scpFromOther: scpFromOther

Description Usage Details See Also

View source: R/ssh_scp.R

Description

scpFromOther Uses system scp through ssh connection to move a file from a different server to connected server.

Usage

1
2
3
4
scpFromOther(jShellServer, fromNameFile, toNameFile, userRemote, passRemote,
  servRemote, portRemote = "22", fromFile = paste0(userRemote, "@",
  servRemote, ":", fromNameFile), toFile = toNameFile, params = "-q",
  compression = FALSE, bandwithLimit = default.bandwithLimit, RUN = TRUE)

Details

Uses system scp through ssh connection to move a file from a different server to connected 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.