commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NET-440) library throws an exception in case the SYST command is not known or the result is not known by the implementation
Date Fri, 03 Feb 2012 17:15:53 GMT

    [ https://issues.apache.org/jira/browse/NET-440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13199876#comment-13199876
] 

Sebb commented on NET-440:
--------------------------

The work-round is to not use auto-detect, but to specify the server type.

I'm not sure it's a good idea to default to any particular OS if the command fails.
                
> library throws an exception in case the SYST command is not known or the result is not
known by the implementation
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: NET-440
>                 URL: https://issues.apache.org/jira/browse/NET-440
>             Project: Commons Net
>          Issue Type: Bug
>          Components: FTP
>    Affects Versions: 3.0.1
>            Reporter: s
>            Priority: Minor
>
> The FTP client uses the SYST command to determine the list output.
> This can fail in two ways:
> - a ParserInitializationException in case the response of the server is not known by
apache.
> - When the response to SYST command is 502 command unknown (the command is optional after
all - http://www.ietf.org/rfc/rfc959.txt) the client throws an IOException.
> Can't it just default to UNIX for these type of ftp servers?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message