If that's the exact code you used, no wonder... it's wrong! Try:
<a href="http://mydomain.com/PDF/filename.pdf">Open PDF FIle</a>
Dan O.
------------------