What's the URL to your product page?

You've probably not added the download file as an attribute to your product, or you didn't "select" that attribute before clicking add-to-cart. https://www.zen-cart.com/tutorials/index.php?article=71