scpToOther: scpToOther

Description Usage Details See Also

View source: R/ssh_scp.R

Description

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

Usage

1
2
3
4
5
scpToOther(jShellServer, fromNameFile, toNameFile, userRemote, passRemote,
  servRemote, portRemote = "22", fromFile = fromNameFile,
  toFile = paste0(userRemote, "@", servRemote, ":", toNameFile),
  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.