Currently our system is transfering multiple files to sFTP server, however some files was able to transfer successfully, some don't ... when we look into the log, looks like we are getting the following error.
You think it is related to how we handle the connection? or relate to how the sFTP server set up?
Our system flow is like this:
our have multiple threads talk to --> our internal web API --> the API will use EnterpriseDT to open sFTP connection and transfer files
DEBUG [SFTPMessage] 24 Sep 2018 16:02:10.218 : Send : Name=SSH_FXP_CLOSE,Type=4,RequestID=5
DEBUG [SSH2Channel] 24 Sep 2018 16:02:10.218 : Transmit 14 bytes
DEBUG [ChannelDataWindow] 24 Sep 2018 16:02:10.218 : Remote window size decreased to 130921
ERROR [SSHFTPClient] 24 Sep 2018 16:02:10.213 : Failed to connect - closing connection
ERROR [SSHFTPClient] 24 Sep 2018 16:02:10.213 : System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'System.Net.Sockets.Socket'.
ERROR [SSHFTPClient] 24 Sep 2018 16:02:10.213 : at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, SocketError& errorCode)
ERROR [SSHFTPClient] 24 Sep 2018 16:02:10.213 : at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
ERROR [SSHFTPClient] 24 Sep 2018 16:02:10.213 : at T6jHMLz3KD4s52B1St.eVurmd5npuafjduMfT.Write(Byte[] , Int32 , Int32 )
ERROR [SSHFTPClient] 24 Sep 2018 16:02:10.213 : at JhNCT1gCqJQH2OPVJI6.EkKdTYgOwQFq9KXlQQs.AuPEff9bcy9(Iao4dApgYZSQxad6U5 , l2XpCfyvMctkqQI0UiF )
ERROR [SSHFTPClient] 24 Sep 2018 16:02:10.213 : at Wmo3Tt8NJZahSAaM45s.mpftTQ8wKeOkYw1MT1d.WPophPjAOZ(Byte[] )
ERROR [SSHFTPClient] 24 Sep 2018 16:02:10.213 : at Wmo3Tt8NJZahSAaM45s.mpftTQ8wKeOkYw1MT1d.DHJp9PHpr2(Byte[] , Boolean )
ERROR [SSHFTPClient] 24 Sep 2018 16:02:10.213 : at Wmo3Tt8NJZahSAaM45s.mpftTQ8wKeOkYw1MT1d.lNypblfhJg(Byte[] )
ERROR [SSHFTPClient] 24 Sep 2018 16:02:10.213 : at A2IO41By3OEfAX9eAZZ.E3IXEXBvrx1t2b9DhJ6.Qs3oXnBTMkH(Byte[] )
ERROR [SSHFTPClient] 24 Sep 2018 16:02:10.213 : at CkgjcsVqWCsEuqnMFxY.SkEwUuVng9qvb3tI3Ok.lDxfOB1Rkj(Byte[] , Int32 , Int32 )
ERROR [SSHFTPClient] 24 Sep 2018 16:02:10.213 : at A2IO41By3OEfAX9eAZZ.E3IXEXBvrx1t2b9DhJ6.xc3oXak9yVI(Byte[] , Int32 , Int32 )
ERROR [SSHFTPClient] 24 Sep 2018 16:02:10.213 : at A2IO41By3OEfAX9eAZZ.E3IXEXBvrx1t2b9DhJ6.xc3oXak9yVI(Byte[] )
ERROR [SSHFTPClient] 24 Sep 2018 16:02:10.213 : at CU3RA7BUA0jNbDGm3ac.rkeRm1BSsOAtLWYwEAQ.iXjCEkO3iK(SFTPMessage )
ERROR [SSHFTPClient] 24 Sep 2018 16:02:10.213 : at CU3RA7BUA0jNbDGm3ac.rkeRm1BSsOAtLWYwEAQ.LTnwnQfZ6b()
ERROR [SSHFTPClient] 24 Sep 2018 16:02:10.213 : at EnterpriseDT.Net.Ftp.Ssh.SSHFTPClient.Connect()
ERROR [SSHFTPClient] 24 Sep 2018 16:02:10.218 : Failed to connect - closing connection
ERROR [SSHFTPClient] 24 Sep 2018 16:02:10.218 : System.ObjectDisposedException: Cannot access a disposed object.