LastWriteTime intermittently incorrect.

Advertisement

shishghate
Joined:
Posts:
2
Location:
USA

LastWriteTime intermittently incorrect.

Hello,

I am using the latest C# nuget package and getting some odd behavior when performing a directory list. In particular the LastWriteTime is moving five hours forward in some cases. It doesn't happen all the time, but enough to cause issues on our end.

I have attached the session file and debug file. If you look at the session file, own_summary_20180516.txt is moving from 6:37 to 11:37.

Please let me know if there are any additional flags I should be setting on the session or sessionoptions or if there is anything else I can try.

And thanks in advance.

Shishir
  • Logs.zip (179.69 KB, Private file)

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,567
Location:
Prague, Czechia

Re: LastWriteTime intermittently incorrect.

It looks like the IP address of the "FTP server" is load balanced across different intances that are differently configured:

. 2018-05-17 19:05:42.651 Connecting to fts.factset.com ...
. 2018-05-17 19:05:42.673 Connected with fts.factset.com. Waiting for welcome message...
< 2018-05-17 19:05:42.682 220-Security Notice
< 2018-05-17 19:05:42.682 220-You are about to access a secured resource. FactSet: File Transfer
< 2018-05-17 19:05:42.682 220-System (FTS) reserves the right to monitor and/or limit access to this
< 2018-05-17 19:05:42.682 220-resource at any time. 02e
< 2018-05-17 19:05:42.682 220-
< 2018-05-17 19:05:42.702 220 FactSet File Transfer System (FTS) ready.
> 2018-05-17 19:05:42.702 USER DJDATA_QNT
< 2018-05-17 19:05:42.720 331 Password required for DJDATA_QNT.
> 2018-05-17 19:05:42.720 PASS ********
< 2018-05-17 19:05:43.010 230 virtual user DJDATA_QNT logged in from /54.85.229.47:51697.
> 2018-05-17 19:05:43.010 SYST
< 2018-05-17 19:05:43.017 215 UNIX Type: L8
...
> MDTM /EXTRACT_ESTIMATES_20180417.txt
< 213 20180418010625.000
. Retrieving file information successful
. Got reply 1 to the command 1024
. Timezone difference of -5 detected using file /EXTRACT_ESTIMATES_20180417.txt (Listing: 2018-04-17T20:06:00.000Z, UTF: 2018-04-18T01:06:00.000Z)

Compare with:

. Connecting to fts.factset.com ...
. Connected with fts.factset.com. Waiting for welcome message...
< 220-Security Notice
< 220-You are about to access a secured resource. FactSet: File Transfer
< 220-System (FTS) reserves the right to monitor and/or limit access to this
< 220-resource at any time.
< 220-
< 220 FactSet File Transfer System (FTS) ready.
> USER DJDATA_QNT
< 331 Password required for DJDATA_QNT.
> PASS ********
< 230 virtual user DJDATA_QNT logged in from /54.85.229.47:12186.
> SYST
< 215 UNIX Type: LINUX
...
> MDTM /EXTRACT_ESTIMATES_20180417.txt
< 213 20180417200625.000
. Retrieving file information successful
. Got reply 1 to the command 1024
. No timezone difference detected using file /EXTRACT_ESTIMATES_20180417.txt (Listing: 2018-04-17T20:06:00.000Z, UTF: 2018-04-17T20:06:00.000Z)

Reply with quote

Advertisement

You can post new topics in this forum