Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 33594 invoked from network); 29 Mar 2004 18:08:52 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 29 Mar 2004 18:08:52 -0000 Received: (qmail 52225 invoked by uid 500); 29 Mar 2004 18:08:40 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 52173 invoked by uid 500); 29 Mar 2004 18:08:39 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 52160 invoked from network); 29 Mar 2004 18:08:39 -0000 Received: from unknown (HELO ms-smtp-03.rdc-kc.rr.com) (24.94.166.129) by daedalus.apache.org with SMTP; 29 Mar 2004 18:08:39 -0000 Received: from firefoot.brekke.org (CPE-24-211-17-60.wi.rr.com [24.211.17.60]) by ms-smtp-03.rdc-kc.rr.com (8.12.10/8.12.7) with ESMTP id i2TI8e6F001688; Mon, 29 Mar 2004 12:08:40 -0600 (CST) Received: from jbrekke by firefoot.brekke.org with local (Exim 3.36 #1 (Debian)) id 1B81Bf-00084v-00; Mon, 29 Mar 2004 12:08:39 -0600 To: Jakarta Commons Developers List Cc: scohen@javactivity.org Subject: Re: [net] [vote] Release Commons-Net 1.2 References: <200403281453.24107.scohen@javactivity.org> <4067BB57.9050507@ops.co.at> <200403290647.25918.scohen@javactivity.org> From: jbrekke@wi.rr.com (Jeffrey D. Brekke) Date: Mon, 29 Mar 2004 12:08:39 -0600 In-Reply-To: <200403290647.25918.scohen@javactivity.org> (Steve Cohen's message of "Mon, 29 Mar 2004 06:47:25 -0600") Message-ID: <85ptavy194.fsf@firefoot.brekke.org> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Here on a Windows2003 server toggling the DIRSTYLE doesn't change the output of the SYS command. It still reports Windows NT 5.0, so if the MSDOS dirstyle is off, then the wrong parser will get autoselected. I guess we could put this in the FAQ or something with some examples maybe. >>>>> On Mon, 29 Mar 2004 06:47:25 -0600, Steve Cohen said: > I think you may be referring to something said by a user last week, > in which he "solved" the problem by configuring his NT FTP server to > use the "Unix display format". I didn't know before that that was > an option. What I still don't know is if one takes that option, > does the SYST command return "Windows" or "Unix"? If it's the > former, then we have a problem. It's not an unsolvable problem > because you can always use the form of listFiles() that takes a > parser class name or a different SYST value (e.g. listFiles("UNIX") > ) as a parameter, although you can't at present do this from Ant. > (But adding this capability to Ant is what I'm striving towards.) > A little investigation would be good here. But we need to remember > the point of autodetection. It's not foolproof, can't be foolproof, > since it depends on SYST identification which is not necessarily > cast in stone. It is an attempt to raise the default success rate > of using listFiles() out of the box from maybe 90% to 98%, by > autodetecting other cases, the most common of which is Windows but > also OS2, VMS, OS400, etc. So while we need to strive to become as > good as possible, I don't think we'll ever hit 100%. FTP is too > loosely specced for that to happen. > Default falling back to unix if other methods fail would involve a > much more complex mechanism in which the program would have to > decide ("this isn't working") and try something else. While I > wouldn't totally rule that out, I don't at present feel there is > enough solid information to justify that effort. > On Sunday 28 March 2004 11:59 pm, Mario Ivankovits wrote: >> +1 >> >> >2. Autodetection of system type - a BIG feature for the Ant user >> > community and others. We missed the last Ant release and I'd >> like not to > miss another. >> >> There is a littly thing whe should try to enhance in the future. >> Using "Windows" for the NTFTPEntryParser is too strict as it might >> depend on a "directory listing format" which is configureable. >> Maybe a automatic fallback to UnixFTPEntryParser might help here? >> >> >> -- Mario >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org >> For additional commands, e-mail: >> commons-dev-help@jakarta.apache.org > --------------------------------------------------------------------- > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: commons-dev-help@jakarta.apache.org -- ===================================================================== Jeffrey D. Brekke jbrekke@wi.rr.com Wisconsin, USA brekke@apache.org ekkerbj@yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org