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: Understanding WINSCP log file

Do you want to check that all bytes of the file were transferred? You cannot do this just based on packet sizes. If you increase the log level, to have packet contents logged, you will have enough information for the calculation. But wouldn't it be easier to check the local file size instead?
ajayanthi

Understanding WINSCP log file

Hi, we download about 20 files everyday from client SFTP server using WINSCP automated script. The client is asking us to confirm that all the files have been transfered completely in terms of data packet sizes. Can we achive this by looking at the lines below from the log file?
Type: SSH_FXP_OPEN, Size: 56, Number: 4867
Type: SSH_FXP_HANDLE, Size: 10, Number: 4867


our log for one file lookslike this:
. 2011-01-03 14:41:08.126 Copying "/OCFSFiles/csos-qa/SEVLDSS_20110103.txt" to local directory started.
. 2011-01-03 14:41:08.126 Binary transfer mode selected.
. 2011-01-03 14:41:08.126 Checking existence of partially transfered file.
. 2011-01-03 14:41:08.127 Opening remote file.
> 2011-01-03 14:41:08.127 Type: SSH_FXP_OPEN, Size: 56, Number: 4867
< 2011-01-03 14:41:08.127 Type: SSH_FXP_STATUS, Size: 21, Number: 4612
. 2011-01-03 14:41:08.127 Discarding reserved response
< 2011-01-03 14:41:08.138 Type: SSH_FXP_HANDLE, Size: 10, Number: 4867
> 2011-01-03 14:41:08.138 Type: SSH_FXP_FSTAT, Size: 10, Number: 5128
> 2011-01-03 14:41:08.138 Type: SSH_FXP_READ, Size: 22, Number: 5381
. 2011-01-03 14:41:08.148 3 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
< 2011-01-03 14:41:08.148 Type: SSH_FXP_ATTRS, Size: 29, Number: 5128
. 2011-01-03 14:41:08.148 Storing reserved response
< 2011-01-03 14:41:08.674 Status/error code: 1
. 2011-01-03 14:41:08.674 45 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
> 2011-01-03 14:41:08.674 Type: SSH_FXP_CLOSE, Size: 10, Number: 12036
< 2011-01-03 14:41:08.674 Type: SSH_FXP_STATUS, Size: 22, Number: 11269
< 2011-01-03 14:41:08.674 Type: SSH_FXP_STATUS, Size: 22, Number: 11525
< 2011-01-03 14:41:08.907 Type: SSH_FXP_STATUS, Size: 22, Number: 11781
. 2011-01-03 14:41:08.909 Closing connection.
. 2011-01-03 14:41:08.909 Sending special code: 12
. 2011-01-03 14:41:08.909 Sent EOF message

Thanks,
ajayanthi