[net] SYST/FTPClient.getSystemName()

2003-12-30 Thread steve cohen
[originally posted in a slightly different form on commons-dev, now cross-posting to commons-user] I am beginning the work of tying the selection of a specific FTPFileEntryParser in commons-net to the output of the SYST command on that system. (getSystemName() is a wrapper around SYST). The

Re: [net] SYST/FTPClient.getSystemName()

2003-12-30 Thread Jeffrey D. Brekke
For OS2 we check if the string OS/2 is present. For NT we check if the string Windows is present. For VMS we check if the string VMS is present. This way we don't have to mess with version numbers and stuff. The actual returns that I can verify are: AIX v5.1L: UNIX Type: L8 Version: BSD-44

Re: [net] SYST/FTPClient.getSystemName()

2003-12-30 Thread Jeffrey D. Brekke
Here's another: SUN OS 5.8: UNIX Type: L8 Version: SUNOS On Tue, 30 Dec 2003 07:16:05 -0600, steve cohen [EMAIL PROTECTED] said: [originally posted in a slightly different form on commons-dev, now cross-posting to commons-user] I am beginning the work of tying the selection of a specific

Re: [net] SYST/FTPClient.getSystemName()

2003-12-30 Thread steve cohen
Well, it sounds like only OS2 and Enterprise Unix are problematical. I Googled OS2 FTP and I can't find a single publicly accessible FTP site that runs OS2. I did find this page: http://www.sentex.net/kwos2cug/os2-ftp.html which lists dozens of ftp sites RELATED to OS2. The majority of them