title: Java: How to get upload and download speed
body: <p>I write a program to upload and download files to FTP server but I can not monitor the speed and the transfer rate.<br>
  I used FTPClient class and its two methods <code>retrievFile()</code> and <code>storeFile()</code> </p>