Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

eddjud@...

error 1349126

how do i delete error 1349126
martin

I do not mean a scheduled antivirus scan. But a real-time antivirus protection.
jakubg

We can't turn off the antivirus from security reasons.

The antivirus scan is however scheduled to 2AM, and this happened around midday. So it's unlikely.
martin

Re: Error deleting file

Did you try to turn off an antivirus or any other security software you may be running?
jakubg

Error deleting file

Hello,
we are using WinSCP Version 5.15 (Build 9365) with the basicaly following script:
option batch continue
option confirm off
open xxx@xxx:22
cd /upload
 
put -nopermissions -nopreservetime -delete E:\outbound\abt\*.xml /upload/*
 
close
exit

We are facing some issues when "larger" files are being transferred (starting with files around 10MB).
. 2019-07-10 10:53:20.293 File: 'E:\outbound\abt\ABT0000028212.xml' [2019-07-10T08:44:03.817Z] [11700061]
. 2019-07-10 10:53:20.293 Copying "E:\outbound\abt\ABT0000028212.xml" to remote directory started.
. 2019-07-10 10:53:20.293 Binary transfer mode selected.
. 2019-07-10 10:53:20.293 Opening remote file.
> 2019-07-10 10:53:20.293 Type: SSH_FXP_OPEN, Size: 47, Number: 1280771
< 2019-07-10 10:53:20.310 Type: SSH_FXP_HANDLE, Size: 25, Number: 1280771
> 2019-07-10 10:53:20.310 Type: SSH_FXP_WRITE, Size: 32757, Number: 1281286
. 2019-07-10 10:53:20.621 622 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
> 2019-07-10 10:53:20.621 Type: SSH_FXP_CLOSE, Size: 25, Number: 1372932
< 2019-07-10 10:53:20.621 Type: SSH_FXP_STATUS, Size: 24, Number: 1349126
*
*bunch of similar entries
*
< 2019-07-10 10:53:20.721 Status code: 0
< 2019-07-10 10:53:20.722 Type: SSH_FXP_STATUS, Size: 24, Number: 1372932
< 2019-07-10 10:53:20.722 Status code: 0
. 2019-07-10 10:53:20.722 Transfer done: 'E:\outbound\abt\ABT0000028212.xml' => '/upload/ABT0000028212.xml' [11700061]
* 2019-07-10 10:53:20.811 (EOSError) System Error.  Code: 32.
 
* 2019-07-10 10:53:20.811 The process cannot access the file because it is being used by another process
. 2019-07-10 10:53:20.811 Asking user:
. 2019-07-10 10:53:20.811 Error deleting file 'E:\outbound\abt\ABT0000028212.xml'. ("System Error.  Code: 32.
 
. 2019-07-10 10:53:20.811 The process cannot access the file because it is being used by another process")
< 2019-07-10 10:53:20.811 Script: Error deleting file 'E:\outbound\abt\ABT0000028212.xml'.
< 2019-07-10 10:53:20.812 Script: System Error.  Code: 32.
 
< 2019-07-10 10:53:20.812 The process cannot access the file because it is being used by another process
* 2019-07-10 10:53:20.812 (ESkipFile) Error deleting file 'E:\outbound\abt\ABT0000028212.xml'.
* 2019-07-10 10:53:20.812 System Error.  Code: 32.
* 2019-07-10 10:53:20.812 The process cannot access the file because it is being used by another process

There isn't any other process accessing the files as far as I am aware.
Any idea what could be the problem here, and how to troubleshoot this?
We don't have access to the logs from the FTP server. But I can confirm that the files were uploaded (but not deleted localy).

Thank you.