Hello Stuart,
We are still getting SFTP connection error - MP: exception caught with cause com.enterprisedt.net.j2ssh.transport.TransportProtocolException: The connection did not complete for a new vendor.
We simply tried one of the enterpriseDT example for SFTP for the new vendor SFTP server credentials. As per your suggestion, we are using latest version of enterpriseDT to establish connection. However, we are getting below error in the debug mode.
DEBUG [SshClient] 22 Nov 2021 09:01:45.065 : Setting maxpacketsize=32648
DEBUG [SSHFTPClient] 22 Nov 2021 09:01:45.065 : Created SFTP client.
INFO [enterpriseDT.UseSFTPWithClientValidationPassword] 22 Nov 2021 09:01:45.081 : Connecting to server SrvFtp2.dst.dk
INFO [SCPClient] 22 Nov 2021 09:01:45.081 : SCPClient settings validated.
DEBUG [SCPClient] 22 Nov 2021 09:01:45.081 : Connecting to SrvFtp2.dst.dk:22
DEBUG [SCPClient] 22 Nov 2021 09:01:45.081 : Version: 7.2.0
DEBUG [StreamSocketFactory] 22 Nov 2021 09:01:45.096 : Connecting to SrvFtp2.dst.dk:22 via standard socket
java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:81)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:162)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394)
at java.net.Socket.connect(Socket.java:606)
at com.enterprisedt.util.proxy.PlainSocket.createPlainSocket(PlainSocket.java:112)
at com.enterprisedt.util.proxy.StreamSocketFactory.getConnectedSocket(StreamSocketFactory.java:73)
at com.enterprisedt.net.j2ssh.SshClient.connect(SshClient.java:583)
at com.enterprisedt.net.ftp.ssh.SCPClient.connectSSH(SCPClient.java:1144)
at com.enterprisedt.net.ftp.ssh.SSHFTPClient.connect(SSHFTPClient.java:968)
at enterpriseDT.UseSFTPWithClientValidationPassword.main(UseSFTPWithClientValidationPassword.java:55)
I would appreciate your help in this issue.
Best regards,
Bobby Nayak