Yeah, that was one of my thoughts also... But... In my specific case, so it could crop up anywhere... The symlink points to a file in a directory that I cannot filescan or read...
I wonder what error it would give if I just tried to cd into a file via a symlink... Hmmmmm -----Original Message----- From: Daniel F. Savarese [mailto:dfs@;savarese.org] Sent: Thursday, November 14, 2002 3:44 PM To: Jakarta Commons Users List Subject: Re: FW: Need some advice -> with ANT FTP and symlinked files In message <000201c28a07$0c154580$6400a8c0@s2701>, "Bill Chmura" writes: >Someone on the ANT-dev mailing list suggested I talk with the >apache-commons folk for possible help... > >Any ideas? If the problem is that you can't tell if a symlink points to a file or a directory, the only way I know to tell is by listing what the symlink points to (which could be another symlink) recursively until you end up with either a file or a directory (making sure to avoid an infinite loop caused by cycles in the graph). daniel -- To unsubscribe, e-mail: <mailto:commons-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:commons-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:commons-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:commons-user-help@;jakarta.apache.org>
