Sublime Forum

Sublime sftp plugin modification times older files

#1

I’m using sublime sftp (wbond). I’ve got a handful of files within my directory which are a bit older, and it appears that sublime sftp (and sftp itself for that matter) assumes that the modification time is 12:00am, which is confusing the sync logic, because my local version of the same file is showing accurate (e.g. 5:39pm).

-Chad Burkins

0 Likes

#2

The SFTP protocol tends to use unix file listings, and doesn’t provide directory listings with accurate timestamps. Seconds are rounded off for recent files, and hours and minutes are discarded for older files. Unfortunately this means you can’t have a completely accurate comparison of timestamps.

My hope is that with the next major revision to the package I’ll be adding support for some protocol extensions that will help improve this some.

1 Like