You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "codemonkey (JIRA)" <ji...@apache.org> on 2008/07/22 20:33:32 UTC
[jira] Created: (NET-227) Support for cygwin
Support for cygwin
------------------
Key: NET-227
URL: https://issues.apache.org/jira/browse/NET-227
Project: Commons Net
Issue Type: Bug
Affects Versions: 1.4
Environment: Client: Windows Server 2003. FTP Server: Tumbleweed running on Windows Server 2003 running CYGWIN. Commons net version 1.4.1.
Reporter: codemonkey
Fix For: 1.4
When the client sends a SYST command, the server responds with "215 Cygwin Type: L8". The createFileEntryParser method of the DefaultFTPFileEntryParserFactory class does not have an entry in that block of if statements there to catch and work with Cygwin. I am using a limited set of ftp commands in the project I'm working on, but so far everything seems to work fine when I alias Cygwin to unix. I'm not sure if there are any other complexities around this, or if there is a better way to do this, but I'm sure y'all will know :)
Here's what I added:
FTPClientConfig.java
In the constant definitions at the beginning of the class starting at line 140, I added the following:
/**
* Identifier by which a unix emulation-based ftp server is known throughout
* the commons-net ftp system.
*/
public static final String SYST_CYGWIN = "CYGWIN";
DefaultFTPFileEntryParserFactory.java
In the first catch block starting at line 85 in the createFileEntryParser method, I added the following to the existing else if statements:
else if (ukey.indexOf(FTPClientConfig.SYST_CYGWIN) >= 0)
{
parser = createUnixFTPEntryParser();
}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (NET-227) Support for cygwin
Posted by "Rory Winston (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NET-227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rory Winston closed NET-227.
----------------------------
Resolution: Fixed
Fix Version/s: 2.0
This is fixed in 2.0 : systems with a "Type: L8" suffix identifier should resolve to the Unix file entry parser.
> Support for cygwin
> ------------------
>
> Key: NET-227
> URL: https://issues.apache.org/jira/browse/NET-227
> Project: Commons Net
> Issue Type: Bug
> Affects Versions: 1.4
> Environment: Client: Windows Server 2003. FTP Server: Tumbleweed running on Windows Server 2003 running CYGWIN. Commons net version 1.4.1.
> Reporter: codemonkey
> Fix For: 2.0
>
>
> When the client sends a SYST command, the server responds with "215 Cygwin Type: L8". The createFileEntryParser method of the DefaultFTPFileEntryParserFactory class does not have an entry in that block of if statements there to catch and work with Cygwin. I am using a limited set of ftp commands in the project I'm working on, but so far everything seems to work fine when I alias Cygwin to unix. I'm not sure if there are any other complexities around this, or if there is a better way to do this, but I'm sure y'all will know :)
> Here's what I added:
> FTPClientConfig.java
> In the constant definitions at the beginning of the class starting at line 140, I added the following:
> /**
> * Identifier by which a unix emulation-based ftp server is known throughout
> * the commons-net ftp system.
> */
>
> public static final String SYST_CYGWIN = "CYGWIN";
> DefaultFTPFileEntryParserFactory.java
> In the first catch block starting at line 85 in the createFileEntryParser method, I added the following to the existing else if statements:
> else if (ukey.indexOf(FTPClientConfig.SYST_CYGWIN) >= 0)
> {
> parser = createUnixFTPEntryParser();
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (NET-227) Support for cygwin
Posted by "Sebb (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NET-227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sebb updated NET-227:
---------------------
Fix Version/s: (was: 1.4)
> Support for cygwin
> ------------------
>
> Key: NET-227
> URL: https://issues.apache.org/jira/browse/NET-227
> Project: Commons Net
> Issue Type: Bug
> Affects Versions: 1.4
> Environment: Client: Windows Server 2003. FTP Server: Tumbleweed running on Windows Server 2003 running CYGWIN. Commons net version 1.4.1.
> Reporter: codemonkey
>
> When the client sends a SYST command, the server responds with "215 Cygwin Type: L8". The createFileEntryParser method of the DefaultFTPFileEntryParserFactory class does not have an entry in that block of if statements there to catch and work with Cygwin. I am using a limited set of ftp commands in the project I'm working on, but so far everything seems to work fine when I alias Cygwin to unix. I'm not sure if there are any other complexities around this, or if there is a better way to do this, but I'm sure y'all will know :)
> Here's what I added:
> FTPClientConfig.java
> In the constant definitions at the beginning of the class starting at line 140, I added the following:
> /**
> * Identifier by which a unix emulation-based ftp server is known throughout
> * the commons-net ftp system.
> */
>
> public static final String SYST_CYGWIN = "CYGWIN";
> DefaultFTPFileEntryParserFactory.java
> In the first catch block starting at line 85 in the createFileEntryParser method, I added the following to the existing else if statements:
> else if (ukey.indexOf(FTPClientConfig.SYST_CYGWIN) >= 0)
> {
> parser = createUnixFTPEntryParser();
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (NET-227) Support for cygwin
Posted by "codemonkey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NET-227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615722#action_12615722 ]
codemonkey commented on NET-227:
--------------------------------
Hmm, that may have been a touch unclear now that I read it, I meant that I added it to my project and built it, but I didn't add it to the apache codebase. Wanted to get some input on this before trying to figure out how to make changes.
> Support for cygwin
> ------------------
>
> Key: NET-227
> URL: https://issues.apache.org/jira/browse/NET-227
> Project: Commons Net
> Issue Type: Bug
> Affects Versions: 1.4
> Environment: Client: Windows Server 2003. FTP Server: Tumbleweed running on Windows Server 2003 running CYGWIN. Commons net version 1.4.1.
> Reporter: codemonkey
> Fix For: 1.4
>
>
> When the client sends a SYST command, the server responds with "215 Cygwin Type: L8". The createFileEntryParser method of the DefaultFTPFileEntryParserFactory class does not have an entry in that block of if statements there to catch and work with Cygwin. I am using a limited set of ftp commands in the project I'm working on, but so far everything seems to work fine when I alias Cygwin to unix. I'm not sure if there are any other complexities around this, or if there is a better way to do this, but I'm sure y'all will know :)
> Here's what I added:
> FTPClientConfig.java
> In the constant definitions at the beginning of the class starting at line 140, I added the following:
> /**
> * Identifier by which a unix emulation-based ftp server is known throughout
> * the commons-net ftp system.
> */
>
> public static final String SYST_CYGWIN = "CYGWIN";
> DefaultFTPFileEntryParserFactory.java
> In the first catch block starting at line 85 in the createFileEntryParser method, I added the following to the existing else if statements:
> else if (ukey.indexOf(FTPClientConfig.SYST_CYGWIN) >= 0)
> {
> parser = createUnixFTPEntryParser();
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.