Re: Timezone offset calculation error
Posted: 2013-11-26 10:49
Like everybody else, that is not open to me because I don't control the server. I can ask those who do about that but it's not something that I can magically make happen.Upgrade to a server that supports MLSD
So really it comes down to how the FTP client behaves when it sees that the FTP server does not support the MLSD command. (I assume that you are implying that if the FTP client sees that the FTP server supports MLSD then the FTP client will use MLSD instead of LIST and will only convert the incoming UTC date/times to the client's local time and will forget about trying to do timezone calculations. It would help to know this because that at least is some argument for me to put as to why the FTP server software should change.)
Right now the result for me is the same as for the person who started this topic. The numbers are crazy. The current FTP client behaviour is not consistent with RFC 959.
I suppose you could just give an option to disable timezone calculation completely if the server does not support the MLSD command i.e. take the date/times as provided and don't mess with them at all. That would certainly give better results for me. I think someone might have suggested that already.