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.
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".
Details
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.