Listing of non-existing files cause the problems
-------------------------------------------------
Key: FTPSERVER-42
URL: http://issues.apache.org/jira/browse/FTPSERVER-42
Project: FtpServer
Type: Bug
Reporter: Evgueni Smoliar
list of non-existing files cause connection problems in stead of just returing
empty result list
File Not exists is not syntax error!
org.apache.ftpserver.DirectoryLister.java
----
all calls like :
try {
files = m_fileSystemView.listFiles(m_file);
}
catch(FtpException ex) {
}
if(files == null) {
return false;
}
should be changed to :
try {
files = m_fileSystemView.listFiles(m_file);
}
catch(FtpException ex) {
}
if(files == null) {
return true;
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira