Page 1 of 1

About Question enthuware.ocpjp.v11.2.3632 :

Posted: Thu Sep 22, 2022 10:42 am
by cjgiron
Hi Admin,

According to the explanation, by default, if the original path (p1) to be copied is a symbolic link, then the target of that symbolic link is copied only if symbolic links are supported. Does StandardCopyOption.REPLACE_EXISTING enable support for symbolic links for both the original path and target path?

Re: About Question enthuware.ocpjp.v11.2.3632 :

Posted: Thu Sep 22, 2022 11:06 am
by admin
I don't see the highlighted part written in the explanation. May be I am not looking at the right place. Can you post a screenshot?

Re: About Question enthuware.ocpjp.v11.2.3632 :

Posted: Thu Sep 22, 2022 2:43 pm
by cjgiron
Oh sure! Sorry I was summarizing.

Here's the direct quote in the first paragraph:
If symbolic links are supported, and the file is a symbolic link, then the final target of the link is copied.


Reading over the answer explanation again, I think my understanding is clearer, but I have a different, probably simpler question. Are symbolic links supported by default?

Re: About Question enthuware.ocpjp.v11.2.3632 :

Posted: Thu Sep 22, 2022 5:00 pm
by admin
Ok, that is different from what you wrote.
"support" here refers to OS/File system support.