protected List<String> parse(final int response, final String[] reply) {
        final List<String> result = new ArrayList<String>(reply.length);
        for(final String line : reply) {
            // Some servers include the status code for every line.
            if(line.startsWith(String.valueOf(response))) {
                try {
                    String stripped = line;
                    stripped = StringUtils.strip(StringUtils.removeStart(stripped, String.valueOf(String.format("%d-", response))));
                    stripped = StringUtils.strip(StringUtils.removeStart(stripped, String.valueOf(response)));
                    result.add(stripped);
                }
                catch(IndexOutOfBoundsException e) {
                    log.error(String.format("Failed parsing line %s", line), e);
                }
            }
            else {
                result.add(StringUtils.strip(line));
            }
        }
        return result;
    }
@Test
    public void testParse9399() {
        final List<String> list = new FTPStatListService(null, null).parse(
            212, new String[]{
                "drwxrwxr-x   11 995      993          4096 Jan 11 21:24 .",
                "drwxrwxr-x    4 995      993          4096 Jan 11 21:20 ..",
                "drwxrwxr-x    2 995      993          4096 Jun 25  2015 assets",
                "drwxrwxr-x    3 995      993          4096 Jan 11 18:05 css",
                "drwxrwxr-x    2 995      993          4096 Jun 25  2015 fonts",
                "drwxrwxr-x    8 995      993         12288 Dec 07 18:11 images",
                "drwxrwxr-x    3 995      993          4096 Jun 25  2015 layerednavigationajax",
                "lrwxrwxrwx    1 995      993            55 Jan 25 16:39 locale -> ../../../../app/design/frontend/liberty/liberty/locale/",
                "drwxrwxr-x    5 995      993          4096 Jun 25  2015 magentothem",
                "drwxrwxr-x    4 995      993          4096 Jun 25  2015 magentothem_blog",
                "drwxrwxr-x    5 995      993          4096 Jun 25  2015 onepagecheckout",
                "drwxrwxr-x    3 995      993          4096 Jul 24  2015 tm"

            });
        assertEquals(12, list.size());
    }