title: Get size of file on remote server
body: <p>I have a requirement where I need to do SFTP connection to remote server, get the size of the file on remote server and depending on the size, i need to get the file onto local server.
  Is there any command in SFTP to get the size of the file.</p>