Description Usage Details See Also Examples
scpFromLocal
It does not uses system scp. It uses java process. It moves a file from local server to connected server.
1 | scpFromLocal(jShellServer, fromLocalFile, toRemoteFile)
|
It does not uses system scp. It uses java process. It moves a file from local server to connected server.
To move a whole folder, and all recursive subfolders, use scpToOther
or scpFromOther
with the following parameters: params="-q -r"
scpToLocal
scpFromLocal
scpToOther
scpFromOther
scp
1 2 3 4 5 6 7 8 9 10 | ## Not run:
con = ssh.shell()
ssh.open(con, connData$server_sas_ip, connData$server_sas_port, connData$server_sas_user, connData$server_sas_pass)
write.table(iris, file="iris.csv", append=FALSE, quote=FALSE, sep=";", row.names=FALSE)
scpFromLocal(con, "iris.csv", paste0(connData$server_sas_tables,"iris.csv"))
ssh.close(con)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.