You should be able to get to the raw FTP interface or somehow otherwise be able to submit single ftp commands directly. If you can, this list gives you some options. . (It's a windows list, but unix should be no worse. The following uses unix ftp commands as best I recall.) The bang (!) is supposed to drop you to a cmd prompt (I'm sure there are security issues involved. If you can somehow "ls | wc" you'll have a count, or perhaps you can "ls" to a file you can ftp back with the file list.