How to retain the original timestamp when transferring file via PowerShell ShareFIle add-in

  • 1
  • Question
  • Updated 4 months ago
We use the PowerShell ShareFile add-in and use this:

Copy-SfItem -Path $LocalPath -Destination "sfDrive:"

and it's working OK BUT then we realised that when we looked at the S:\ (ShareFile Drive Mapper) that the last modified date has been changed from original date to the when the upload took place. 

We had this similar issue when we do the transfer via FTP and we thought using the PowerShell method is solved the problem.

However though if we copy manually from local to S: (sharefile  mapped drive), the date is retained for some reason ?!?! However this manual method we found that some files get missing ie. thumbs file, temp files and makes the comparison between local folder and Sharefile hard to do.

Can someone verify that with Copy-SfItem that the date time stamp retained on transfer?

Thanks

 
Photo of DC Partners

DC Partners

  • 11 Posts
  • 0 Reply Likes

Posted 4 months ago

  • 1
Photo of DC Partners

DC Partners

  • 11 Posts
  • 0 Reply Likes
Anyone?