WinSCP.com and File Upload Getting Network error: Software caused connection abort
Just in the past few days, we've been getting a few different file transfers that are running with winscp.com and file uploads, that logs indicate they are transferring relatively small files (~ 2 MB), but for a few days straight, leaving a
<file-name>.filepart
partially downloaded file on the vendor's site, and failing to complete, eventually reconnecting, but getting an inability to proceed (see Log snippet below).
Is there a way to set some sort of KEEPALIVE or something to tell the script to either re-try, or the log below seems to be saying it wants a question answered to delete the
.FILEPART
file, and re-try that way?
> 2020-02-09 03:00:31.915 Type: SSH_FXP_LSTAT, Size: 10, Number: 4871 < 2020-02-09 03:00:31.931 Type: SSH_FXP_ATTRS, Size: 21, Number: 4871 . 2020-02-09 03:00:31.931 Getting current directory name. . 2020-02-09 03:00:31.931 Startup conversation with host finished. < 2020-02-09 03:00:31.931 Script: Session started. . 2020-02-09 03:00:31.931 File: 'C:\TEMP\FILE1.txt' [2020-02-09T10:15:22.518Z] [3003577] . 2020-02-09 03:00:31.931 Copying "C:\TEMP\FILE1.txt" to remote directory started. . 2020-02-09 03:00:31.931 Binary transfer mode selected. . 2020-02-09 03:00:31.931 Checking existence of file. > 2020-02-09 03:00:31.931 Type: SSH_FXP_LSTAT, Size: 30, Number: 5127 < 2020-02-09 03:00:31.946 Type: SSH_FXP_STATUS, Size: 33, Number: 5127 < 2020-02-09 03:00:31.946 Status code: 2 . 2020-02-09 03:00:31.946 Checking existence of partially transfered file. > 2020-02-09 03:00:31.946 Type: SSH_FXP_LSTAT, Size: 39, Number: 5383 < 2020-02-09 03:00:31.962 Type: SSH_FXP_ATTRS, Size: 29, Number: 5383 . 2020-02-09 03:00:31.962 Resuming file transfer. . 2020-02-09 03:00:31.962 Opening remote file. > 2020-02-09 03:00:31.962 Type: SSH_FXP_OPEN, Size: 47, Number: 5635 < 2020-02-09 03:00:31.978 Type: SSH_FXP_STATUS, Size: 33, Number: 5635 < 2020-02-09 03:00:31.978 Status code: 2, Message: 5635, Server: File not found, Language: en > 2020-02-09 03:00:31.978 Type: SSH_FXP_LSTAT, Size: 39, Number: 5895 < 2020-02-09 03:00:31.993 Type: SSH_FXP_ATTRS, Size: 29, Number: 5895 * 2020-02-09 03:00:31.993 (ETerminal) No such file or directory. * 2020-02-09 03:00:31.993 Error code: 2 * 2020-02-09 03:00:31.993 Error message from server (en): File not found . 2020-02-09 03:00:31.993 Asking user: . 2020-02-09 03:00:31.993 Cannot overwrite remote file '/FILE1.txt.filepart'.$$ . 2020-02-09 03:00:31.993 . 2020-02-09 03:00:31.993 Press 'Delete' to delete the file and create new one instead of overwriting it.$$ ("No such file or directory. . 2020-02-09 03:00:31.993 Error code: 2 . 2020-02-09 03:00:31.993 Error message from server (en): File not found") < 2020-02-09 03:00:31.993 Script: Cannot overwrite remote file '/FILE1.txt.filepart'. < 2020-02-09 03:00:31.993 Script: No such file or directory. < 2020-02-09 03:00:31.993 Error code: 2 < 2020-02-09 03:00:31.993 Error message from server (en): File not found * 2020-02-09 03:00:31.993 (EScpSkipFile) Cannot overwrite remote file '/FILE1.txt.filepart'.$$ * 2020-02-09 03:00:31.993 * 2020-02-09 03:00:31.993 Press 'Delete' to delete the file and create new one instead of overwriting it.$$ * 2020-02-09 03:00:31.993 No such file or directory. * 2020-02-09 03:00:31.993 Error code: 2 * 2020-02-09 03:00:31.993 Error message from server (en): File not found . 2020-02-09 03:00:31.993 Script: Failed . 2020-02-09 03:00:31.993 Script: Exit code: 1 . 2020-02-09 03:00:31.993 Closing connection. . 2020-02-09 03:00:31.993 Sending special code: 12 . 2020-02-09 03:00:31.993 Sent EOF message
- Joe Pantera