title: List files in tar.gz file from SFTP server using phpseclib without downloading it
body: <p>I am working with SFTP server. How can I view the list of files in .tar.gz (5 GB size) file without downloading and extracting it? I am using phpsiclib1.0.7 for that. 
  I am successfully login on SFTP server and list all the directories. For that I have used below code. </p>
  
  <pre><code>&lt;?php
  include('Net/SFTP.php');
  $sftp = new Net_SFTP('sftp.tripadvisor.com');
  if (!$sftp-&gt;login('username', 'password')) {
    exit('Login Failed');
  } else {
    $current_dir= $sftp-&gt;nlist();
    $sftp-&gt;nlist('drop/listings/');
  }
  ?&gt; 
  </code></pre>