jsftp icon indicating copy to clipboard operation
jsftp copied to clipboard

wrong time returned if FTP server uses a different time zone

Open balloy opened this issue 7 years ago • 1 comments

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

  1. Check if MLSD supported, use it instead of LS if possible.
  2. If use LS, do a MDTM command on one file to calculate the timezone difference.
  3. Store the timezone difference and use it for the whole connection.

Will you consider adding this "enhancement"? Thanks.

balloy avatar Mar 18 '18 03:03 balloy

I could really use this too. Or at the minimum be able to pass the timezone of the FTP server when known.

oakify avatar Jun 20 '19 08:06 oakify