Description Usage Details Value Note Author(s) References See Also Examples
Uploads a file to an ftp server.
1 | sftpUpload(host, username, password, remotepath, localpath)
|
Uploads a file to an ftp server. Will overwrite an existing file at the specified 'remotepath'.
logical: returns TRUE if successful, FALSE otherwise
The underlying C code supports public key authentication but this version of Rssh2 supports only username+password authentication.
Bruce Hoff <bruce.hoff@sagebase.org>
www.libssh2.org
sftpDownload
1 2 3 4 5 | ## Not run:
sftpUpload("sftp.server.org", "username", "password", "/path/to/dest/remotefile.txt", "/source/location/localfile.txt")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.