sftpUploadFile | R Documentation |
This function combines calls to the sftpConnect
, sftpPutFile
, and
sftpDisconnect
functions.
A random string will be prefixed to the file name to prevent overwriting existing files on the
server.
sftpUploadFile(privateKeyFileName, userName, remoteFolder = ".", fileName)
privateKeyFileName |
A character string denoting the path to an RSA private key. |
userName |
A character string containing the user name. |
remoteFolder |
The remote folder to upload the file to. |
fileName |
A character string denoting the path to file to upload. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.