You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ftpserver-dev@incubator.apache.org by "Sergey Vladimirov (JIRA)" <ji...@apache.org> on 2006/05/17 12:32:06 UTC
[jira] Updated: (FTPSERVER-42) Listing of non-existing files cause
the problems
[ http://issues.apache.org/jira/browse/FTPSERVER-42?page=all ]
Sergey Vladimirov updated FTPSERVER-42:
---------------------------------------
Attachment: patch1.txt
> 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
> Attachments: patch1.txt, patch2.txt
>
> 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