data file content and log file are inverted

Advertisement

ericgibert@yahoo.fr
Joined:
Posts:
1

data file content and log file are inverted

Here is a normal LOG file content:. 2014-07-23 09:49:05.495 File: '/Singapore_PRD/OUTBOX/PICKCFM/SGZME19140722205717.txt' [2014-07-22T13:02:01.000Z] [651]
. 2014-07-23 09:49:05.495 Copying "/Singapore_PRD/OUTBOX/PICKCFM/SGZME19140722205717.txt" to local directory started.
. 2014-07-23 09:49:05.495 Binary transfer mode selected.
. 2014-07-23 09:49:05.495 Starting download of /Singapore_PRD/OUTBOX/PICKCFM/SGZME19140722205717.txt
> 2014-07-23 09:49:05.495 TYPE I
. 2014-07-23 09:49:05.729 TLS connection established
. 2014-07-23 09:49:05.760 type=dir;size=512;modify=20140723014909;create=20110214015705;perm=ceflp; .
. 2014-07-23 09:49:05.760 type=dir;size=512;modify=20140723014909;create=20110214015705;perm=ceflp; ..
. 2014-07-23 09:49:05.760 type=file;size=651;modify=20140722130201;create=20140722130201;perm=adfrw; SGZME19140722205717.txt

but once in a while, we have in the LOG file:
> 2014-07-23 09:48:58.276 RETR SGZME19140722205201.txt
. 2014-07-23 09:48:58.526 Loading system certificates
. 2014-07-23 09:48:58.542 Main TLS session ID was not reused previously, not trying again
. 2014-07-23 09:48:58.542 TLS layer changed state from none to connected
< 2014-07-23 09:48:58.542 150 File status okay; about to open data connection.
< 2014-07-23 09:48:58.776 150 Opening BINARY mode data connection for SGZME19140722205201.txt (2601 bytes).
. 2014-07-23 09:48:58.792 Loading system certificates
. 2014-07-23 09:48:58.792 Main TLS session ID was not reused previously, not trying again
. 2014-07-23 09:48:58.792 TLS layer changed state from none to connected
. 2014-07-23 09:49:00.057 TLS connection established
. 2014-07-23 09:49:00.151 H CPD 2600467864 20140722 20140723 20140722 000010 Z0169800 2 T
. 2014-07-23 09:49:00.151 H CPD 2600467864 20140722 20140723 20140722 000020 G1429800 3 T

The last two lines are the DATA file content!
and the data file receive the LOG file messages:
type=dir;size=512;modify=20140723014615;create=20110214015233;perm=ceflp; .
type=dir;size=512;modify=20140723014615;create=20110214015233;perm=ceflp; ..
type=file;size=97;modify=20140722143505;create=20140722144306;perm=adfrw; STID140722093505.txt

in other words, the LOG output is redirected to the data file, while the data content is redirect to the LOG file.

Note: execution by script, FTPS protocole is used, BINARY mode is forced. Winscp Version 5.5.3.

Anyone experienced the same mixed up? Any suggestions?

Thank you

Eric

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,517
Location:
Prague, Czechia

Re: data file content and log file are inverted

Thanks for your report.

None of the logs actually look normal to me.

I have sent you an email with a debug version of WinSCP to address you have used to register on this forum.

Reply with quote

Advertisement

You can post new topics in this forum