in reply to Re^5: ftp rmdir with all files
in thread ftp rmdir with all files

i used "isdir" conditon from use Net::FTP::File module.