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

martin

Re: File sending stops after SSH_FXP_SETSTAT

Did you try upgrading? WinSCP 5.9.6 is over 4 years old.
johrest

File sending stops after SSH_FXP_SETSTAT

Hi,

I'm noticing that sometimes (that does not happen always) the log shows strange entries:
> 2021-10-21 15:12:43.376 Script: put  -nopermissions -preservetime -transfer="binary" -filemask="*.*" -- "\\UNC_PATH\*.*" "/*.*"
. 2021-10-21 15:12:43.376 Copying 1 files/directories to remote directory "/"
. 2021-10-21 15:12:43.376   PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 0100; Resume: S (102400); CalcS: No; Mask: *.*
. 2021-10-21 15:12:43.376   TM: B; ClAr: No; RemEOF: No; RemBOM: No; CPS: 0; NewerOnly: No; InclM: *.*; ResumeL: 0
. 2021-10-21 15:12:43.391   AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; *.js; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2021-10-21 15:12:43.391 File: 'xyz.csv' [2021-10-21T13:04:10.964Z] [85292]
. 2021-10-21 15:12:43.391 Copying "xyz.csv" to remote directory started.
. 2021-10-21 15:12:43.391 Binary transfer mode selected.
. 2021-10-21 15:12:43.391 Opening remote file.
> 2021-10-21 15:12:43.391 Type: SSH_FXP_OPEN, Size: 63, Number: 259
< 2021-10-21 15:12:43.454 Type: SSH_FXP_HANDLE, Size: 45, Number: 259
> 2021-10-21 15:12:43.454 Type: SSH_FXP_WRITE, Size: 32825, Number: 774
. 2021-10-21 15:12:43.469 2 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
> 2021-10-21 15:12:43.469 Type: SSH_FXP_CLOSE, Size: 45, Number: 1540
> 2021-10-21 15:12:43.469 Type: SSH_FXP_SETSTAT, Size: 59, Number: 521
. 2021-10-21 15:18:05.241 --------------------------------------------------------------------------
. 2021-10-21 15:18:05.241 WinSCP Version 5.9.6 (Build 7601) (OS 6.1.7601 Service Pack 1 - Windows Server 2008 R2 Enterprise)
. 2021-10-21 15:18:05.241 Configuration: nul
. 2021-10-21 15:18:05.241 Log level: Normal

as you can see the copy process has been initiated (files are obfuscated) from the local disk to the remote directory. The last entry in the log is from
> 2021-10-21 15:12:43.469 Type: SSH_FXP_SETSTAT, Size: 59, Number: 521

the next is
. 2021-10-21 15:18:05.241 --------------------------------------------------------------------------
. 2021-10-21 15:18:05.241 WinSCP Version 5.9.6 (Build 7601) (OS 6.1.7601 Service Pack 1 - Windows Server 2008 R2 Enterprise)

so more than 5 minutes later. It simply aborted. Any idea what could cause such strange behaviour?