iperf
Iperf generates a stream of TCP data between a client and server and measures the throughput in Mbits/second. For example, I was able to compare the speeds to a Samba server from a wired versus wireless client. It doesn't time an actual file transfer.
Installation
Download an appropriate package-
Also see
Categories
CategorySoftwareCategoryNetworking