I see your point, but it doesn't really solve the problem that I'm seeing.
Sure, it would make it easier for any halfway competent java programmer to
subclass the parser factory, but I believe most of our users are not in this
boat. They want to import our jar into some other application like
Steve Cohen wrote:
So let's here some more comments: how nasty is this DIRSTYLE toggling thing
that some of us are just hearing about for the first time now?
I think we could live with this, but beside this, the question is too,
how bad it is to implement.
Currently we do have not instance
I think having a Unix parser within the NT parser is not a good design. I
think the logical right place to do it is in the factory. Before I had heard
about DIRSTYLE I was envisioning a process of getting a test listing when
SYST returned Windows and trying both parsers. Or some other test.
Steve Cohen schrieb:
test listing when
SYST returned Windows and trying both parsers. Or some other test. To be
done in the factory.
But how would you know, that you are in an directory where you have the
permission to do the list command, or at least there are files within?
Steve Cohen wrote:
Wow, that's nasty. Or maybe not.
I think using DIRSTYLE to toggle the output isnt that nice.
Another idea could be to change the DefaultFTPEntryParserFactory to
allow easier derivation..
---snip---
public FTPFileEntryParser createFileEntryParser(String key)
{
To: Jakarta Commons Developers List
Subject: Re: [net] [vote] Release Commons-Net 1.2
On Mon, 29 Mar 2004 00:25:59 -0500, Gary Gregory
[EMAIL PROTECTED] said:
WRT http://jakarta.apache.org/commons/net/ Shouldn't the heading
Jakarta Commons/Net probably just be Jakarta Commons Net
On Tuesday 30 March 2004 9:46 am, Daniel F. Savarese wrote:
In message [EMAIL PROTECTED],
Ga
ry Gregory writes:
the The Apache Software License - the Apache Software License
Apache Software License should be just Apache License
All the nits have been picked :)
Maybe we're wrong to rely exclusively on the SYST command. Jeff, since you
evidently have admin access to an NT FTP server, maybe you can find a quick
way to distinguish between an NT server in Unix DIRSTYLE mode and one in NT
mode. LIke maybe the header information uses different text or
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
Steve Cohen wrote:
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,
...
I don't think we'll ever hit 100%. FTP is too
loosely specced for that to happen.
I am complete with you. And i know, that it
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,
On Mon, 29 Mar 2004 00:25:59 -0500, Gary Gregory [EMAIL PROTECTED] said:
WRT http://jakarta.apache.org/commons/net/ Shouldn't the heading
Jakarta Commons/Net probably just be Jakarta Commons Net?
Also that whole paragraph could use some formatting, for example a
bullet list of features.
: Monday, March 29, 2004 20:31
To: Jakarta Commons Developers List
Subject: Re: [net] [vote] Release Commons-Net 1.2
On Mon, 29 Mar 2004 00:25:59 -0500, Gary Gregory
[EMAIL PROTECTED] said:
WRT http://jakarta.apache.org/commons/net/ Shouldn't the heading
Jakarta Commons/Net probably just
+1 to the 1.2 release.
I just committed changes to the build to use the commons-build stuff.
I've also pushed out the site. Let me know anyone sees any problems
with it.
http://jakarta.apache.org/commons/net/
On Sun, 28 Mar 2004 14:53:24 -0600, Steve Cohen [EMAIL PROTECTED] said:
I would
14 matches
Mail list logo