Dart.Ssh Namespace > Sftp Class > Sftp Constructor : Sftp Constructor(IContainer) |
'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 )
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: