Page 2 of 2

Re: Timezone offset calculation error

Posted: 2013-11-26 10:49
by ftpper
Upgrade to a server that supports MLSD
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.

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.

Re: Timezone offset calculation error

Posted: 2013-12-16 23:22
by ftpper
ftpper wrote:(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.)
Confirm?

Re: Timezone offset calculation error

Posted: 2013-12-17 07:06
by botg
ftpper wrote:
ftpper wrote:(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.)
Confirm?
Ack.