Re: How to set the lastwritetime attribute of a file or directory?
There's no better way currently.
rainmanec
How to set the lastwritetime attribute of a file or directory?
Hi martin:
I want to set the LastWriteTime property of the remote file or directory, But I have not found any method available in NET assembly, so I use the following command
ExecuteCommand("MFMT 20200529062256 logo.png")
However, this method has a disadvantage that the local time zone and the server time zone cannot be kept the same.
Do you have a better way and How to detect time zone offset ?
Thanks!