PowerTCP SSH and SFTP for .NET
Sftp Class Methods


For a list of all members of this type, see Sftp members.

Public Methods
 NameDescription
Public MethodAbort Requests cancellation of any on-going copy operations.  
Public MethodAuthenticateOverloaded.  Performs 'keyboard-interactive' authentication. (Inherited from Dart.Ssh.SshConnection)
Public MethodChangeWorkingDirectory Changes the working directory.  
Public MethodCloseOverridden.  Closes this SFTP session.  
Public MethodConnectOverloaded. Connects to the SSH-2 server specified by Connection.RemoteEndPoint. (Inherited from Dart.Ssh.SshConnection)
Public MethodCreateDirectory Creates a new directory.  
Public MethodCreateLink Creates a symbolic link on the server. Creates a link "linkPath" that points to a target file or directory "targetPath".  
Public MethodCreateLocalPortForwarderOverloaded. Creates a new LocalPortForwarder. (Inherited from Dart.Ssh.SshConnection)
Public MethodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject)
Public MethodDisposeOverloaded. Overridden.  Releases all resources associated with the object.  
Public MethodGetOverloaded.  Initiates a file copy from the remote server to the local client.  
Public MethodGetAttributes Gets the file attributes of a file. This method follows symbolic links on the server.  
Public MethodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodGetTarget Gets the target of a symbolic link.  
Public MethodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodList Lists the contents of a directory.  
Public MethodListEx Lists the contents of a directory for COM environments.  
Public MethodMarshalOverloaded.  Marshals a string and/or object to the UI thread and raises the UserState event. (Inherited from Dart.Ssh.ComponentBase)
Public MethodOnBannerRaises the SshConnection.Banner event. (Inherited from Dart.Ssh.SshConnection)
Public MethodOnChallengeRaises the SshConnection.Challenge event. (Inherited from Dart.Ssh.SshConnection)
Public MethodOnHostKeyRaises the SshConnection.HostKey event. (Inherited from Dart.Ssh.SshConnection)
Public MethodOnProgressRaises the Progress event.  
Public MethodPutOverloaded.  Initiates a file copy from the local client to the remote server.  
Public MethodRemove Removes a file.  
Public MethodRemoveDirectory Removes a directory and its subfolders and files.  
Public MethodRename Renames or moves a file or directory.  
Public MethodSetAttributes Modifies the attributes of a file. Used for operations such as changing the ownership, permissions or access times, as well as for truncating a file.  
Public MethodStart Starts a worker thread on which the specified delegate function executes.  
Public MethodToString (Inherited from System.ComponentModel.Component)
Top
Protected Methods
 NameDescription
Protected MethodFinalize (Inherited from System.ComponentModel.Component)
Protected MethodGetService (Inherited from System.ComponentModel.Component)
Protected MethodMemberwiseCloneOverloaded. Creates a shallow copy of the current System.MarshalByRefObject object. (Inherited from System.MarshalByRefObject)
Protected MethodOnErrorRaises the Error event. (Inherited from Dart.Ssh.ComponentBase)
Protected MethodOnLog Raises the Log event. (Inherited from Dart.Ssh.SshConnection)
Protected MethodOnStateChangedOverridden. Overrides SshConnection.OnStateChanged.  
Protected MethodOnUserStateRaises the UserState event. (Inherited from Dart.Ssh.ComponentBase)
Top
See Also

Reference

Sftp Class
Dart.Ssh Namespace


PowerTCP SSH and SFTP for .NET Documentation Version 7.0
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic