[jcifs] symbolic link detection
Allen, Michael B (RSCH)
Michael_B_Allen at ml.com
Wed Jul 23 11:21:57 EST 2003
CIFS has no concept of a link. I cannot think of a way to detect
such a situation. Also, it's bad form to have a link that references
a parent of itself. That will probably cause problems with software
other than jCIFS.
Mike
> -----Original Message-----
> From: Bryan Kate [SMTP:kateb at rpi.edu]
> Sent: Tuesday, July 22, 2003 9:04 PM
> To: jcifs at lists.samba.org
> Subject: [jcifs] symbolic link detection
>
> Hi,
>
> Is there a reliable way to detect if a file is a symbolic link? There
> is an isFile and isDirectory function, but no isLink. Can this be done
> with jcifs, or is there another method of detecting if a file is a
> symlink? I am getting caught in an infinite loop when crawling the
> network, and i dont want to have a hard depth limit.
>
> - bryan
>
More information about the jcifs
mailing list