isDirectory flag

add isDirectory flag when parsing ftp list