Description Usage Arguments Details Value Author(s) References See Also Examples
Downloads a file from an ftp server.
1 | sftpDownload(host, username, password, remotepath, localpath)
|
host |
The name of the remote sftp host. |
username |
The user name with which to log in to the remote sftp host. |
password |
The password with which to log in to the remote sftp host. |
remotepath |
The path to the SFTP-hosted file, including the file name itself. |
localpath |
The path to the target location on the local file system, including the file name. |
Downloads a file from an ftp server. Will overwrite an existing file at the specified 'localpath'.
logical: returns TRUE if successful, FALSE otherwise
Bruce Hoff <bruce.hoff@sagebase.org>
http://www.chiark.greenend.org.uk/~sgtatham/putty/
sftpUpload sftpDirectoryExists sftpMakeDirectory sftpRemoveDirectory sftpDeleteFile
1 2 3 4 5 | ## 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.