title: How to get file names from Web directory - Python code
body: <p>I would like to know how to get a list of filenames (.jpg image files) that are stored on a server.</p>
  
  <p>I am looking for code which stores all the filenames (with their extension) in an Excel table or in the CSV format.</p>
  
  <p>Any tips will be very helpful.</p>