First, you might wanna change your code to the following:
$list .= "<br><br><tr><a href=\"".$row["filepath"]."\">Right Click here </a> and select 'Save Target As' to save the file to your PC </tr>";
Otherwise it will not work on any files named with a space.
What type of files are these? Can you post the HTML output of that loop? Or at least one link that doesn't work.
When you click the link, you say "nothing" happens...you don't get any type of error message at all?
Also, what is the full/absolute path of your website directory?