Posh-SSH icon indicating copy to clipboard operation
Posh-SSH copied to clipboard

Get-SFTPItem doesn't preserve last write times of downloaded files

Open jaspain opened this issue 2 years ago • 0 comments

The lastwritetime and other timestamps on local copies of downloaded files reflect the time of download rather than the original timestamps on the remote files. Preserving the original timestamps would be helpful for analyzing file recency. That information is available from Get-SFTPPathAttribute.

jaspain avatar Jun 22 '23 02:06 jaspain