Menu

#25 getDirectoryListing returns a List<FTPFile> with wrong paths

open
nobody
None
5
2007-06-03
2007-06-03
Anonymous
No

in getDirectoryListing at line 784/785 in class FTPConnection you pass the working directory instead of the listing directory ("directory"), which results in wrong results if the list directory is not the CWD

parsedList = factory.parse(command.fetchDataConnectionReply().getLines(), workDirectory);

thats the last bug report im writing, since i wont use this piece of... software any longer.

Discussion


Log in to post a comment.