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 Mon, 27 Mar 2006 21:44:46 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-27 22:44 -------
I think the original idea was that everything not functioning as a directory is
assumed to be functioning as a file, as to be able to compare / download as much
as possible.

Also, something which is of type unknown may still be functioning as file or
directory, so to return false right away doesn't seem to be the right decision
for those checks.

For example fifo's are neither files nor directories, yet they will function as
file when read from / written to.

Maybe unknown is also used for FTP servers that do not propagate any obvious
difference between file entries and directory entries.

Therefore, it is not clear to me what would be the benefit of always having
isFunctioningAsDirectory and isFunctioningAsFile returning false if the type is
unknown.

-- 
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