ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39108] - FTP.java missing checks when file type is unknown
Date Tue, 28 Mar 2006 22:39:26 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39108>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39108





------- Additional Comments From jkf@apache.org  2006-03-28 23:39 -------
Sorry, but I do not understand the issue, what would be the benefit of not
trying to determine the behaviour of an unknown entry?

Ant does not set the type to unknown.
Commons does set the type to unknown when it can not -for whatever reason-
determine what an entry is by inspecting the listing. Commons will not try to
determine if something unknown proves to be a file or a directory. 
Ant does try to determine whether it acts as a directory or a file. 
Ant does not try to determine this by inspecting the entry of a listing.
For unix ftp listings commons will treat block and character devices as file,
but will treat fifo's as unknown. Fifo's for instance will act like files.

Ant does not change the entry it has received from the commons FTP library, I am
not familiar enough with the ftp library of commons to see if it could do any
harm to change this, but again, what would be the benefit?

So please indicate what is wrong on a functional level.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message