PowerTCP SSH and SFTP for .NET
Sftp Class
Members 




The Sftp Component represents an SFTP client connection tunneled over a SSH-2 connection.
Object Model
Sftp ClassConnection ClassOptimizations Class
Syntax
'Declaration
 
Public Class Sftp 
   Inherits SshConnection
'Usage
 
Dim instance As Sftp
public class Sftp : SshConnection 
public __gc class Sftp : public SshConnection 
public ref class Sftp : public SshConnection 
Remarks
Most methods in this class map directly to one of the packet types described in draft-ietf-secsh-filexfer-13.txt.

Error handling: the methods of this class throw IOExceptions. However, unless there is catastrophic failure, exceptions of the type SftpException will be thrown (a subclass of IOException). Therefore, you can implement more verbose behavior by checking if a thrown exception if of the type SftpException. If yes, then you access detailed information about the failure.

Important notes about file names, directory names and paths:

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         Dart.Ssh.ComponentBase
            Dart.Ssh.SshConnection
               Dart.Ssh.Sftp

See Also

Reference

Sftp Members
Dart.Ssh Namespace


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