SCP file resource getter
SCP file resource getter
     
    
    
    Details
    Access a file that is stored on a server accessible through SSH. Credentials apply.
     
    
    
    Methods
    
Inherited methods
Method new()
Creates a ScpFileResourceGetter instance.
Returns
The ScpFileResourceGetter object.
 
 
Method isFor()
Check that the provided resource is a file accessible by SCP: the resource URL scheme must be "scp".
Usage
ScpFileResourceGetter$isFor(resource)
 
Arguments
- resource
- The resource object to evaluate. 
 
 
Method downloadFile()
Download the file described by the resource over an SSH connection.
Usage
ScpFileResourceGetter$downloadFile(resource, ...)
 
Arguments
- resource
- The resource that identifies the file. 
- ...
- Additional parameters (not used). 
 
Returns
The "resource.file" object.
 
 
Method clone()
The objects of this class are cloneable with this method.
Usage
ScpFileResourceGetter$clone(deep = FALSE)
 
Arguments
- deep
- Whether to make a deep clone.