Written by

Question James Woo · Feb 7, 2020

How to get the current date and time in the destination file when copying using Stream.CopyFrom?

How can I get the current date and time in the destination file when I'm using Stream.CopyFrom because Stream.CopyFrom preserves the date and time of the source file.

Comments

Eduard Lebedyuk · Feb 8, 2020

%File provides a way to get creation and modification dates, but to set them you'll need OS level tools.

0
James Woo  Feb 10, 2020 to Eduard Lebedyuk

Took the easy way out by reading the source file and write it out to the destination file

0