[jira] [Created] (NET-389) Unix parser should ignore "total nnn" lines

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (NET-389) Unix parser should ignore "total nnn" lines

Gilles Sadowski (Jira)
Unix parser should ignore "total nnn" lines
-------------------------------------------

                 Key: NET-389
                 URL: https://issues.apache.org/jira/browse/NET-389
             Project: Commons Net
          Issue Type: Improvement
          Components: FTP
    Affects Versions: 2.2
            Reporter: Sebb
            Priority: Minor


Some Unix LIST replies include a total line, for example:

{noformat}
total 1
-rw-rw-r--   1 root  wheel    405 Dec 29  2007 .htaccess
{noformat}

This is probably a server bug, but the line cannot be confused with a valid response, so it should be ignored in the preparse stage.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|

[jira] [Resolved] (NET-389) Unix parser should ignore "total nnn" lines

Gilles Sadowski (Jira)

     [ https://issues.apache.org/jira/browse/NET-389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebb resolved NET-389.
----------------------

       Resolution: Fixed
    Fix Version/s: 3.0

> Unix parser should ignore "total nnn" lines
> -------------------------------------------
>
>                 Key: NET-389
>                 URL: https://issues.apache.org/jira/browse/NET-389
>             Project: Commons Net
>          Issue Type: Improvement
>          Components: FTP
>    Affects Versions: 2.2
>            Reporter: Sebb
>            Priority: Minor
>             Fix For: 3.0
>
>
> Some Unix LIST replies include a total line, for example:
> {noformat}
> total 1
> -rw-rw-r--   1 root  wheel    405 Dec 29  2007 .htaccess
> {noformat}
> This is probably a server bug, but the line cannot be confused with a valid response, so it should be ignored in the preparse stage.

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