Fixed ambiguous listing scenario in FTP.