Description Usage Details Value Note Author(s) References See Also Examples
Downloads a file from an ftp server.
1 | sftpDownload(host, username, password, remotepath, localpath)
|
Downloads a file from an ftp server. Will overwrite an existing file at the specified 'localpath'.
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
sftpUpload sftpDownload sftpDirectoryExists sftpMakeDirectory sftpRemoveDirectory
1 2 3 4 | ## Not run:
sftpDownload("sftp.server.org", "username", "password", "/path/to/source/remotefile.txt", "/dest/location/localfile.txt")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.