title: Complete list of files and folders in remote server via SFTP
body: <p>How to list all files recursively in remote server via SFTP in PHP?</p>
  
  <p><code>opendir</code> or <code>scandir</code> only list in current folder.</p>