commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Commented: (NET-273) FEAT response parsing
Date Fri, 18 Mar 2011 15:44:29 GMT

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

Sebb commented on NET-273:
--------------------------

I agree that supportsFeature(String) seems best. Not sure it's worth creating a list of the
currently known features.

Although one could just store the raw strings in an array, the Map approach seems best.

The map could be created only on demand, but once created it should probably be cached until
disconnection.

> FEAT response parsing
> ---------------------
>
>                 Key: NET-273
>                 URL: https://issues.apache.org/jira/browse/NET-273
>             Project: Commons Net
>          Issue Type: Improvement
>          Components: FTP
>    Affects Versions: 2.0
>            Reporter: Shikhar Bhushan
>            Priority: Minor
>
> Would be nice if response to FEAT could be parsed, and a simple method provided like
client.isSupported(FTPCommand.MDTM)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message