I have been using WinSCP for a while now to transfer files between my computer and some servers but this morning it stopped working. A half hour ago it was working, but then after I updated a file and tried to move it to the server I get this error message:
Server sent disconnect message
type 2 (protocol error)
I get this message after trying to transfer a few different files to a few different servers, so I don't think the problem is with the file or server. I had this problem with an older version of WinSCP and upgrading to 4.3.5 did nothing to help. This problem is very frustrating to me because it just stopped working out of the blue and I need it to work for a time sensitive project I am working on. Here's all the other information I have:
WinSCP version: 4.3.5
OS: Windows 7 Professional SP1
Transfer Protocol: SFTP-3
GUI style: Commander
Copying 1 files/directories to remote directory "/tmp/"
PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 01; Resume: S (102400); CalcS: Yes; Mask: *.*
TM: M; ClAr: No; CPS: 0; ExclM(No):
AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; *.js; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
File: "C:\Users\Mike D\Desktop\HedgeAlerter.jar"
Copying "C:\Users\Mike D\Desktop\HedgeAlerter.jar" to remote directory started.
Binary transfer mode selected.
Checking existence of file.
Type: SSH_FXP_LSTAT, Size: 30, Number: 53511
Type: SSH_FXP_STATUS, Size: 24, Number: 53252
Discarding reserved response
Type: SSH_FXP_STATUS, Size: 29, Number: 53511
Status code: 2
Checking existence of partially transfered file.
Type: SSH_FXP_LSTAT, Size: 39, Number: 53767
Type: SSH_FXP_ATTRS, Size: 37, Number: 53767
Target directory contains partially transfered file 'HedgeAlerter.jar'. Do you want to resume file transfer? Note: Answering 'No' would delete partially transfered file and restart transfer. ()
Type: SSH_FXP_REMOVE, Size: 39, Number: 54029
Type: SSH_FXP_STATUS, Size: 24, Number: 54029
Status code: 0
Opening remote file.
Type: SSH_FXP_OPEN, Size: 55, Number: 54275
Type: SSH_FXP_HANDLE, Size: 13, Number: 54275
Type: SSH_FXP_WRITE, Size: 4121, Number: 54790
Network error: Software caused connection abort
Connection was lost, asking what to do.
Network error: Software caused connection abort ()
(ESshFatal) Network error: Software caused connection abort
Copying files to remote side failed.