DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14063>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14063

ANT FTP will not download a file if it is a symlink





------- Additional Comments From [EMAIL PROTECTED]  2002-10-29 20:40 -------
This is because you are not looking at a unix filesystem when you use FTP task.
Effectively you are looking at an FTP filesystem. In order to make FTP task work
over FTP and look like it is a regular filesystem, a custom inner class called
FTPDirectoryScanner is implemented, extending DirectoryScanner. 

Since the basis of symlink detection, is the result of a comparision between
carefully constructed File objects containing absolute paths vs. the results of 
file.getCannonicalPath() it may not be possible to propogate this feature into
FTP task. It might be good to add a check to throw a build exception if follow
symlinks gets set to true in FTP task though. (and a note about it in the docs
of course. I think I will try to come up with a patch for that tonight.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to