Subject: sftp - error Date: 2013-11-06 00:07:29 From: Julian Grace Source: sftp-error ----------------------------------------------------------------------I use this code below and got an error - cannot perform requested operation in current session state.' Create a new Sftp instance.
---------------------------------------------------------------------- Note: This question has been asked on the Q&A forum of Thang Dang's fraudulent ComponentPro brand If you purchased anything from ComponentPro, you have been scammed. Contact the payment processor who sold you the license and ask for your money back. Back to ComponentPro Q&A Forum Index
Dim client As New Sftp()
' Connect to the SFTP server.
client.Connect("sftp2.mysite.com")
' Authenticate.
client.Authenticate("username", "password")
' Do something here. You can
' browse directories, list files, transfer files
' ...
' Disconnect.
client.Disconnect()