The log when the error occurs.
DEBUG [com.enterprisedt.net.j2ssh.SftpClient] 7 Feb 2007 12:49.281 : put(e:\mpmsftp\PA_20070207_121339.DAT,PA_20070207_121339.DAT)
DEBUG [com.enterprisedt.net.j2ssh.subsystem.SubsystemChannel] 7 Feb 2007 12:49.281 : Sending SSH_FXP_STAT subsystem message
DEBUG [com.enterprisedt.net.j2ssh.connection.ConnectionProtocol] 7 Feb 2007 12:49.281 : Sending 4 bytes for channel id 0
ALL [TransportProtocolCommon] 7 Feb 2007 12:49.281 : Name=SSH_MSG_CHANNEL_DATA,MessageId=94
DEBUG [com.enterprisedt.net.j2ssh.connection.ConnectionProtocol] 7 Feb 2007 12:49.281 : Sending 59 bytes for channel id 0
ALL [TransportProtocolCommon] 7 Feb 2007 12:49.281 : Name=SSH_MSG_CHANNEL_DATA,MessageId=94
ALL [TransportProtocolCommon] 7 Feb 2007 12:49.328 : Received unregistered message: Name=SSH_MSG_IGNORE,MessageId=2
ALL [TransportProtocolCommon] 7 Feb 2007 12:49.328 : Received registered message: Name=SSH_MSG_CHANNEL_DATA,MessageId=94
DEBUG [AsyncService] 7 Feb 2007 12:49.328 : Routing SSH_MSG_CHANNEL_DATA
DEBUG [com.enterprisedt.net.j2ssh.connection.ConnectionProtocol] 7 Feb 2007 12:49.328 : Received 141 bytes of data for channel id 0
DEBUG [SubsystemMessageStore] 7 Feb 2007 12:49.328 : Received SSH_FXP_STATUS subsystem message
DEBUG [AsyncService] 7 Feb 2007 12:49.328 : Finished processing SSH_MSG_CHANNEL_DATA
DEBUG [com.enterprisedt.net.j2ssh.SftpClient] 7 Feb 2007 12:49.328 : remote path=/HOME/EDS_from_states/input/PA_20070207_121339.DAT
DEBUG [com.enterprisedt.net.j2ssh.subsystem.SubsystemChannel] 7 Feb 2007 12:49.328 : Sending SSH_FXP_STAT subsystem message
DEBUG [com.enterprisedt.net.j2ssh.connection.ConnectionProtocol] 7 Feb 2007 12:49.328 : Sending 4 bytes for channel id 0
ALL [TransportProtocolCommon] 7 Feb 2007 12:49.344 : Name=SSH_MSG_CHANNEL_DATA,MessageId=94
DEBUG [com.enterprisedt.net.j2ssh.connection.ConnectionProtocol] 7 Feb 2007 12:49.344 : Sending 59 bytes for channel id 0
ALL [TransportProtocolCommon] 7 Feb 2007 12:49.344 : Name=SSH_MSG_CHANNEL_DATA,MessageId=94
ALL [TransportProtocolCommon] 7 Feb 2007 12:49.938 : Received unregistered message: Name=SSH_MSG_IGNORE,MessageId=2
ALL [TransportProtocolCommon] 7 Feb 2007 12:49.938 : Received registered message: Name=SSH_MSG_CHANNEL_DATA,MessageId=94
DEBUG [AsyncService] 7 Feb 2007 12:49.938 : Routing SSH_MSG_CHANNEL_DATA
DEBUG [com.enterprisedt.net.j2ssh.connection.ConnectionProtocol] 7 Feb 2007 12:49.938 : Received 141 bytes of data for channel id 0
DEBUG [SubsystemMessageStore] 7 Feb 2007 12:49.938 : Received SSH_FXP_STATUS subsystem message
DEBUG [AsyncService] 7 Feb 2007 12:49.938 : Finished processing SSH_MSG_CHANNEL_DATA
DEBUG [com.enterprisedt.net.j2ssh.subsystem.SubsystemChannel] 7 Feb 2007 12:49.938 : Sending SSH_FXP_OPEN subsystem message
DEBUG [com.enterprisedt.net.j2ssh.connection.ConnectionProtocol] 7 Feb 2007 12:49.938 : Sending 4 bytes for channel id 0
ALL [TransportProtocolCommon] 7 Feb 2007 12:49.938 : Name=SSH_MSG_CHANNEL_DATA,MessageId=94
DEBUG [com.enterprisedt.net.j2ssh.connection.ConnectionProtocol] 7 Feb 2007 12:49.938 : Sending 75 bytes for channel id 0
ALL [TransportProtocolCommon] 7 Feb 2007 12:49.938 : Name=SSH_MSG_CHANNEL_DATA,MessageId=94
ALL [TransportProtocolCommon] 7 Feb 2007 12:49.984 : Received unregistered message: Name=SSH_MSG_IGNORE,MessageId=2
ALL [TransportProtocolCommon] 7 Feb 2007 12:49.984 : Received registered message: Name=SSH_MSG_CHANNEL_DATA,MessageId=94
DEBUG [AsyncService] 7 Feb 2007 12:49.984 : Routing SSH_MSG_CHANNEL_DATA
DEBUG [com.enterprisedt.net.j2ssh.connection.ConnectionProtocol] 7 Feb 2007 12:49.984 : Received 21 bytes of data for channel id 0
DEBUG [SubsystemMessageStore] 7 Feb 2007 12:49.984 : Received SSH_FXP_HANDLE subsystem message
DEBUG [AsyncService] 7 Feb 2007 12:49.984 : Finished processing SSH_MSG_CHANNEL_DATA
DEBUG [com.enterprisedt.net.j2ssh.SftpClient] 7 Feb 2007 12:49.984 : ENTRY - transferASCIIFile
DEBUG [SftpFileOutputStream] 7 Feb 2007 12:50.62 : Writing buffer of size 65535 (max packet size=65535)
DEBUG [com.enterprisedt.net.j2ssh.subsystem.SubsystemChannel] 7 Feb 2007 12:50.62 : Sending SSH_FXP_WRITE subsystem message
DEBUG [com.enterprisedt.net.j2ssh.connection.ConnectionProtocol] 7 Feb 2007 12:50.62 : Sending 4 bytes for channel id 0
ALL [TransportProtocolCommon] 7 Feb 2007 12:50.62 : Name=SSH_MSG_CHANNEL_DATA,MessageId=94
DEBUG [com.enterprisedt.net.j2ssh.connection.ConnectionProtocol] 7 Feb 2007 12:50.62 : Sending 65564 bytes for channel id 0
ALL [TransportProtocolCommon] 7 Feb 2007 12:50.62 : Name=SSH_MSG_CHANNEL_DATA,MessageId=94
ALL [TransportProtocolCommon] 7 Feb 2007 12:50.266 : Name=SSH_MSG_CHANNEL_DATA,MessageId=94
ALL [TransportProtocolCommon] 7 Feb 2007 12:50.297 : Received unregistered message: Name=SSH_MSG_IGNORE,MessageId=2
ALL [TransportProtocolCommon] 7 Feb 2007 12:50.297 : Received unregistered message: Name=SSH_MSG_DISCONNECT,MessageId=1
DEBUG [TransportProtocolCommon] 7 Feb 2007 12:50.297 : The remote computer disconnected: Protocol error: packet too long: 65580.
DEBUG [TransportProtocolCommon] 7 Feb 2007 12:50.297 : stop() called
DEBUG [com.enterprisedt.net.j2ssh.connection.Channel] 7 Feb 2007 12:50.297 : Remote side is closing channel
ERROR [TransportProtocolOutputStream] 7 Feb 2007 12:50.469 : sendMessage() failed: Connection aborted by peer: socket write error (state=5)
DEBUG [SftpSubsystemClient] 7 Feb 2007 12:50.469 : Waiting for response
DEBUG [com.enterprisedt.net.j2ssh.connection.Channel] 7 Feb 2007 12:50.469 : Connection is not connected
DEBUG [com.enterprisedt.net.j2ssh.connection.Channel] 7 Feb 2007 12:50.469 : Finalizing channel close
DEBUG [SftpSubsystemClient] 7 Feb 2007 12:50.469 : Received response
DEBUG [com.enterprisedt.net.j2ssh.connection.ConnectionProtocol] 7 Feb 2007 12:50.469 : Freeing channel 0 [sftp]
DEBUG [SftpSubsystemClient] 7 Feb 2007 12:50.469 : Closing file /HOME/EDS_from_states/input/PA_20070207_121339.DAT
DEBUG [TransportProtocolCommon] 7 Feb 2007 12:50.469 : The Transport Protocol has been stopped
DEBUG [com.enterprisedt.net.j2ssh.connection.ConnectionProtocol] 7 Feb 2007 12:50.469 : Closing all active channels
DEBUG [com.enterprisedt.net.j2ssh.subsystem.SubsystemChannel] 7 Feb 2007 12:50.469 : Sending SSH_FXP_CLOSE subsystem message
ERROR [com.enterprisedt.net.j2ssh.SftpClient] 7 Feb 2007 12:50.469 : Failed to close output stream in put() : The connection has been closed [Unnamed Channel]
java.io.IOException: The connection has been closed [Unnamed Channel]
at com.enterprisedt.net.j2ssh.connection.Channel.sendChannelData(Unknown Source)
at com.enterprisedt.net.j2ssh.subsystem.SubsystemChannel.sendMessage(Unknown Source)
at com.enterprisedt.net.j2ssh.sftp.SftpSubsystemClient.closeHandle(Unknown Source)
at com.enterprisedt.net.j2ssh.sftp.SftpSubsystemClient.closeFile(Unknown Source)
at com.enterprisedt.net.j2ssh.sftp.SftpFile.close(Unknown Source)
at com.enterprisedt.net.j2ssh.sftp.SftpFileOutputStream.close(Unknown Source)
at com.enterprisedt.net.j2ssh.SftpClient.put(Unknown Source)
at com.enterprisedt.net.j2ssh.SftpClient.put(Unknown Source)
at com.enterprisedt.net.ftp.ssh.SSHFTPClient.put(Unknown Source)
at d4232.fhwa.FHWATransfer.sendFile(FHWATransfer.java:188)
at d4232.fhwa.upload.UploadSession.uploadFile(UploadSession.java:85)
at d4232.fhwa.upload.UploadSession.run(UploadSession.java:55)
at java.lang.Thread.run(Thread.java:513)
DEBUG [AsyncService] 7 Feb 2007 12:50.484 : ssh-connection thread is exiting
java.io.IOException: Unexpected server response
at com.enterprisedt.net.j2ssh