Menu ▾ ▴

#62 sundew bug - potentially with PullFTP.py

SundewNext
closed
nobody
None
7
2018-06-02
2016-11-15
No

Every year at day light savings time, the .ls_ file somehow gets the wrong datestamp in there and causes the poll script to download all the old files again.

This has happened to us multiple times.

Discussion

  • psilva

    psilva - 2016-12-01

    can you provide an example server name?
    I think the only way around this is to configure a 'timezone' for the remote host, and then convert to UTC on reading... I would have thought all the remote hosts were in UTC, so I don't get why this happens.

     
  • Khosrow Ebrahimpour

    The server causing problems is sftp.gov.ab.ca. From the sftp prompt, I can't tell what time zone the remote server. But this issue keeps recurring every daylight savings change.

    Looking further into SFTP, I found this: https://ohse.de/uwe/ftpcopy/faq.html#timestamp

    The FTP protocol, misdesigned as it is, doesn't include time zone information. This means client programs have to guess what the time zone of the server is.

     
  • psilva

    psilva - 2016-12-11
    • Group: deferred --> SundewNext
    • Priority: 5 --> 7
     
  • psilva

    psilva - 2018-06-02
     
  • psilva

    psilva - 2018-06-02
    • status: open --> closed
     

Log in to post a comment.