commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "burak ulutoprak (JIRA)" <j...@apache.org>
Subject [jira] Created: (NET-169) Cannot return files with listNames() function
Date Wed, 29 Aug 2007 16:56:31 GMT
Cannot return files with listNames() function
---------------------------------------------

                 Key: NET-169
                 URL: https://issues.apache.org/jira/browse/NET-169
             Project: Commons Net
          Issue Type: Bug
    Affects Versions: 1.4
         Environment: Windows, Eclipse
            Reporter: burak ulutoprak


Hi, 
I am connecting to an ftp server with my username and password. When I call ftpClient.listNames();
 it returns 0 length string array although i am very sure that there are files inside. 

I also know that when I changed the ftp server to another one this function works. So I am
assuming the server that I connected has a weird ftp server. When I called the function ftpClient.getSystemName()
it returns UNKNOWN Type: L8.
If I call ftpClient.listNames I got this exception
 org.apache.commons.net.ftp.parser.ParserInitializationException: Unknown parser type: UNKNOWN
Type: L8
	at org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory.createFileEntryParser(DefaultFTPFileEntryParserFactory.java:125)
	at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2362)
	at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2145)
	at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2192)

I have to get the filenames from the server, so how can I solve the problem.
Thanks for the helps.
Burak Ulutoprak

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message