File Download Script in PHP
<p>I don't know if this is possible. 
I have a webpage with about 250 links, each on a separate line. My initial thought was to use fopen() to get the files, but it did not help much because it requires supplying the name of the file to read/download.</p>

<p>But the files I want to download are listed as links vertically, on one web page like so:</p>

<p><img src="http://i.stack.imgur.com/A9hvr.jpg" alt="enter image description here"></p>

<p>Those are clickable links - think of it like a directory browsing with links to files.
Is there a way to loop through those links on that page and download the files they point to?  </p>

<p>There are roughly about 250 links in all.
Thanks for your assistance.</p>
