jsftp
jsftp copied to clipboard
wrong time returned if FTP server uses a different time zone
This looks like a common problem for most FTP libraries. However decent softwares like FileZilla client handles this issue pretty nice. When FileZilla client gets a file list from FTP server, it will
- Check if MLSD supported, use it instead of LS if possible.
- If use LS, do a MDTM command on one file to calculate the timezone difference.
- Store the timezone difference and use it for the whole connection.
Will you consider adding this "enhancement"? Thanks.
I could really use this too. Or at the minimum be able to pass the timezone of the FTP server when known.