Provide DateTimeOffset values for modified/etc in SFTP for .NET 3.5 and higher
See http://blogs.msdn.com/bclteam/archive/2007/06/18/a-brief-history-of-datetime-anthony-moore.aspx
The SFTP library's modifed/etc times are currently local to the server timezone, but there's no easy way to figure out what the offset is. Adding a TimeZoneOffset property to the Sftp class itself would help, but this type (new with .NET 3.5) would make it very easy to interact with the differences in timezone, something very common when dealing with remote servers.
I don't know if FTP supports retrieving the timezone, but if so, supporting that too seems obvious.
-
Bill W commented
Apparently I can't edit this post, but I'd like to clarify that I'm suggesting providing a second set of properties, not replacing the existing ones (there's no implicit DateTimeOffset -> DateTime cast as far as I'm aware, so replacing would be a breaking change)