Can copy_file function creates preserve timestamp?

new topic     » topic index » view thread      » older message » newer message

I am trying copy_file function using following simple command:

copy_file("srcfile", "dstfile")

It copies but puts new date and time stamp to the newly created file.

How can I make this function preserve the date and time stamp of original file to the new copy? I could not find any option in this function or any other method in the manual. Thanks for your help.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu