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

rdavid2

Understanding messages in log

I am using scripting with version 5.5.3 and we are looking to make our process of SFTPing files better by trying to catch any errors (after losing our internet connection and having some other issues). I have put in Errorlevel code in the main batch file and now looking at the log file I am wondering if I need to be concerned about about the "404 skipped SSH_FXP_WRITE...." line (see log below). It appears all is working well and I see the status code 0, but seeing the skipped line made me wonder if something needed to be investigated further.

bob

. 2014-07-17 19:05:17.294 Using stored password.
. 2014-07-17 19:05:17.294 Sent password
. 2014-07-17 19:05:17.341 Access granted
. 2014-07-17 19:05:17.341 Opening session as main channel
. 2014-07-17 19:05:17.372 Opened main channel
. 2014-07-17 19:05:17.450 Started a shell/command
. 2014-07-17 19:05:17.450 --------------------------------------------------------------------------
. 2014-07-17 19:05:17.450 Using SFTP protocol.
. 2014-07-17 19:05:17.450 Doing startup conversation with host.
> 2014-07-17 19:05:17.450 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2014-07-17 19:05:17.481 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2014-07-17 19:05:17.481 SFTP version 4 negotiated.
. 2014-07-17 19:05:17.481 We will use UTF-8 strings when appropriate
. 2014-07-17 19:05:17.481 Changing directory to "/loyola-phys/CLAIMS/INPUT".
. 2014-07-17 19:05:17.481 Getting real path for '/loyola-phys/CLAIMS/INPUT'
> 2014-07-17 19:05:17.481 Type: SSH_FXP_REALPATH, Size: 34, Number: 16
< 2014-07-17 19:05:17.544 Type: SSH_FXP_NAME, Size: 47, Number: 16
. 2014-07-17 19:05:17.544 Real path is '/loyola-phys/CLAIMS/INPUT'
. 2014-07-17 19:05:17.544 Trying to open directory "/loyola-phys/CLAIMS/INPUT".
> 2014-07-17 19:05:17.544 Type: SSH_FXP_LSTAT, Size: 38, Number: 263
< 2014-07-17 19:05:17.591 Type: SSH_FXP_ATTRS, Size: 38, Number: 263
. 2014-07-17 19:05:17.591 Getting current directory name.
. 2014-07-17 19:05:17.591 Startup conversation with host finished.
< 2014-07-17 19:05:17.591 Script: Active session: [1] LOYOLA_PHYS-claims-send
> 2014-07-17 19:05:17.591 Script: option transfer ASCII
< 2014-07-17 19:05:17.591 Script: transfer ascii
> 2014-07-17 19:05:17.591 Script: put -nopreservetime -nopermissions E:\FTP_Data\Out_bound_837\P\*837p*.TXT /loyola-phys/CLAIMS/INPUT/
. 2014-07-17 19:05:17.591 Copying 1 files/directories to remote directory "/loyola-phys/CLAIMS/INPUT/"
. 2014-07-17 19:05:17.591 PrTime: No; PrRO: No; Rght: rw-r--r--; PrR: No (Yes); FnCs: N; RIC: 0100; Resume: S (102400); CalcS: No; Mask:
. 2014-07-17 19:05:17.591 TM: A; ClAr: No; RemEOF: No; RemBOM: No; CPS: 0; NewerOnly: Yes; InclM:
. 2014-07-17 19:05:17.591 AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; *.js; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2014-07-17 19:05:17.591 File: 'E:\FTP_Data\Out_bound_837\P\PBLUMC837p1477407171825.txt' [2014-07-18T00:05:16.311Z] [5219870]
. 2014-07-17 19:05:17.591 Copying "E:\FTP_Data\Out_bound_837\P\PBLUMC837p1477407171825.txt" to remote directory started.
. 2014-07-17 19:05:17.591 Ascii transfer mode selected.
. 2014-07-17 19:05:17.591 Opening remote file.
> 2014-07-17 19:05:17.591 Type: SSH_FXP_OPEN, Size: 79, Number: 515
< 2014-07-17 19:05:17.637 Type: SSH_FXP_HANDLE, Size: 11, Number: 515
> 2014-07-17 19:05:17.637 Type: SSH_FXP_WRITE, Size: 4119, Number: 1030
. 2014-07-17 19:05:18.901 404 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
> 2014-07-17 19:05:18.901 Type: SSH_FXP_CLOSE, Size: 11, Number: 53508
< 2014-07-17 19:05:18.917 Type: SSH_FXP_STATUS, Size: 17, Number: 52230
< 2014-07-17 19:05:18.932 Type: SSH_FXP_STATUS, Size: 17, Number: 52486
< 2014-07-17 19:05:18.932 Type: SSH_FXP_STATUS, Size: 17, Number: 52742
< 2014-07-17 19:05:18.948 Type: SSH_FXP_STATUS, Size: 17, Number: 52998
< 2014-07-17 19:05:18.948 Type: SSH_FXP_STATUS, Size: 17, Number: 53254
< 2014-07-17 19:05:18.963 Type: SSH_FXP_STATUS, Size: 17, Number: 53508
< 2014-07-17 19:05:18.963 Status code: 0
> 2014-07-17 19:05:18.963 Script: close
. 2014-07-17 19:05:18.963 Closing connection.
. 2014-07-17 19:05:18.963 Sending special code: 12
. 2014-07-17 19:05:18.963 Sent EOF message