SFTP Object
 
Syntax
 
SFTP.InitializeSftp() As Long
 
Description
Intializes the SFTP subsystem. This should be called after connecting and authenticating. An SFTP session always begins by first calling Connect to connect to the SSH server, then calling either AuthenticatePw or AuthenticatePk to login, and finally calling InitializeSftp.
 
Important: When reporting problems, please send the full contents of the LastErrorText property to support@chilkatsoft.com.
 
If this method fails, the reason may be present in the InitializeFailCode and InitializeFailReason properties (assuming the failure occurred when trying to open the SFTP session channel).
 
Returns 1 for success, 0 for failure.
 
See Also