how to get a .osm file based on a manually selected area?

Hi, I was trying to get a .osm file by exporting a box area with the following link. But the server does not work.
https://www.openstreetmap.org/export#map=5/53.917/24.280
Indeed, I have tried to download the .osm data of the whole country, but it is too big. And cropping it based on osmconvert and osmium do not work well with my work.

Hi and welcome to OSM and the forum

The Web-GUI doesn’t support large download of OSM-Data. Take a look at https://wiki.openstreetmap.org/wiki/Downloading_data on how to get exports of larger areas.