You can't get the size of the directory using Net::FTP. FTP doesn't transmit the size of a directory, you have to do a recursive calculation to get the size of a directory.
Use a command line FTP tool to view a FTP directory listing, it never shows the size of the directory.