Hi
Welcome to the Microsoft community.
If you want to prevent edge from automatically downloading and opening files every time, you could try the following.
We would suggest you perform these steps to enable ask where to save each file before downloading in Edge.
- Open Microsoft Edge
- Click on the eclipses (…) from the right top corner.
- Select Settings from the drop down and click on Download from the left pane.
- Toggle the switch to On, beside Ask where to save each file before downloading.
- Close and reopen Edge, then check if the issue persist.
Looking forward to your further news.
You are welcome to reply to this topic at any time, and sincerely thank you for your support of Microsoft products and services.
Best regards
Derrick Qian | Microsoft Community Support Specialist
* If your problem is not solved, you could reply to the post again and we would continue to provide technical support for you.
* Please check and vote this answer if it helps as it will be beneficial to more community members reading here.