Hello Christian,
If http://www.mydomain.com/myfiles/some_name.pdf file exists on your server, the system will not capture this request and will allow user to download the file. The CMS only captures requests to non-existing files.
Please make sure you provide correct URL to download. URLs are case-sensitive so please make sure to check paths and case in the URL.
Best regards,
Alex Lisiewicz