IPWorksSSH 2022 API Changes

In most cases upgrading is seamless and requires no code changes, as efforts have been made to maintain backwards compatibility. However, the release of IPWorksSSH 2022 includes several API changes that may require code changes. The table below is a list of major changes between IPWorksSSH 2020 and IPWorksSSH 2022.

Upgrading to IPWorksSSH 2022 is designed to be a quick process and involve only minimal code changes while offering additional functionality and options for new and existing users. Please contact us at support@nsoftware.com with any questions or comments.

Components with Changes

API Changes

The table below describes API changes in IPWorksSSH 2022. Please refer to the notes for each entry for details.

SExec
Property Command Deprecated: Please use the SendCommand method instead.
Property Stdin Deprecated: Please use the SendStdinBytes method or the SendStdinText method instead.
Method SendStdinBytes New
Method SendStdinText New
SFTP
Property FileExists Deprecated: Please use the CheckFileExists method instead.
Method ChangeRemotePath New
Method CheckFileExists New
Method Connect New
Method Disconnect New
Method QueryFileAttributes New
SFTPServer
Method StartListening New
Method StopListening New
SSHClient
Method ChangeRecordLength New
Method Connect New
Method Disconnect New
Method SendBytes New
Method SendText New
SSHDaemon
Method ChangeRecordLength New
Method SendBytes New
Method SendText New
Method StartListening New
Method StopListening New
SShell
Property Command Deprecated: Please use the SendCommand method instead.
Property Stdin Deprecated: Please use the SendStdinBytes method or the SendStdinText method instead.
Method Connect New
Method Disconnect New
Method SendCommand New
Method SendStdinBytes New
Method SendStdinText New
SSHPlex
Property Command Deprecated: Please use the SendCommand method instead.
Property FileExists Deprecated: Please use the CheckFileExists method instead.
Property RemotePath Deprecated: Please use the QueryRemotePath method or the ChangeRemotePath method instead.
Property Stdin Deprecated: Please use the SendStdinBytes method or the SendStdinText method instead.
Method ChangeRemotePath New
Method CheckFileExists New
Method QueryFileAttributes New
Method QueryRemotePath New
SSHTunnel
Method Connect New
Method StartListening New
Method StopListening New

We appreciate your feedback.  If you have any questions, comments, or suggestions about this article please contact our support team at kb@nsoftware.com.