FTP: how to get total number of files in directory
I prefer to use FTP from the command line but cannot figure out how--after having connected to a remote directory via ftp--to list the total number of files in that directory.
In Unix, I would do this:
% ls | wc -l
But hopefully there is also some way in FTP to do the same--but darned if I know how! I do see that FTP clients such as Transmit have this listing, but maybe that's a feature of the software and not ftp.
Thanks in advance for any suggestions/tips.
Doug
Mac OS X (10.5.2)