Description Usage Arguments Details See Also Examples
This class represents a directory on a remote server that is accessed via the SFTP protocol. The only SSH authentication currently supported the public RSA key method.
The sftpdir function creates a SftpLocation object.
1 | sftpdir(uri, pubkey, privatekey, keypasswd = "", clss = "SftpLocation")
|
uri |
character, the address of the remote host in the form sftp://username@the.host.com:port/remote/dir/ |
pubkey |
character, pointing to the public key file. Required. |
privatekey |
character, pointing to the private key file. Required. |
keypasswd |
character, optional key password |
clss |
character, optional class name. Default is "SftpLocation". |
The show
and as.character
methods for this class have been
adapted to reveal the URL of the directory it represents.
The meta
method returns a data.frame
with filenames and
an is.dir
attribute. It currently returns wrong values when the
remote directory contains files with spaces in their file name.
1 | getSlots("SftpLocation")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.