R
rf3
Hi,
How do you change the file creation date of a file in windows using
java. I tried the File.setLastModified() method and it is not doing
what I hoped it would do which is to change the date time stamp
displayed in windows explorer.
I basically want to copy a file read via InputStream from a URL and
written into a local file system using DataOutputStream. The problem is
the file written using DataOutputStream is created ad hoc and creates a
"new" file with the current datetime stamp.
Is it possible to "copy" a file from a URL source or a server-side file
system source and streamed to the local file system thus preserving the
date?
Thanks,
-Ray
How do you change the file creation date of a file in windows using
java. I tried the File.setLastModified() method and it is not doing
what I hoped it would do which is to change the date time stamp
displayed in windows explorer.
I basically want to copy a file read via InputStream from a URL and
written into a local file system using DataOutputStream. The problem is
the file written using DataOutputStream is created ad hoc and creates a
"new" file with the current datetime stamp.
Is it possible to "copy" a file from a URL source or a server-side file
system source and streamed to the local file system thus preserving the
date?
Thanks,
-Ray