PowerTCP SSH and SFTP for .NET
Sftp Constructor(IContainer)




Syntax
'Declaration
 
Public Function New( _
   ByVal container As IContainer _
)
'Usage
 
Dim container As IContainer
 
Dim instance As New Sftp(container)
public Sftp( 
   IContainer container
)
public: Sftp( 
   IContainer* container
)
public:
Sftp( 
   IContainer^ container
)

Parameters

container
Remarks
Basically, 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, copy-pasted from the SFTP specs:

See Also

Reference

Sftp Class
Sftp Members
Overload List


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