Skip to main content

Utils.SSH

class Utils.SSH

Method Inventory

Methods

classmethod GetFileInfo(sftp, filename, ByRef datetime, ByRef size, ByRef delta)
sftp input is a %Net.SSH.SFTP that has already been connected to a server
classmethod GetSFTPConnection(server As %String, ByRef sftp As %Net.SSH.SFTP, username As %String = "", password As %String = "", verbose As %Integer = 0) as %Status
Return SSH connection to the given server, using username and password args for authentication
classmethod GetSFTPObject(server="", verbose=1, username="", password="") as %Net.SSH.SFTP
Returns an instance of %Net.SSH.SFTP that is connected to a server and is ready for use
classmethod GetSSHConnection(server As %String, ByRef ssh As %Net.SSH.Session, username As %String = "", password As %String = "", verbose As %Integer = 0) as %Status
Return SSH connection to the given server, using username and password args for authentication
FeedbackOpens in a new tab