This is not "The Road Not Taken" by Harry Turtledove.
Similar story idea, but I read Turtledove's story before posting this and it's not it.
Probably a short story. (Can't think how it might be stretched to a novel's length.)
In English, written at least 20-30 years ago.
The one I am trying to remember had slightly more advanced aliens. But their weapons were still primitive compared to Earths weapons. (Still single shot but probably not muzzle loaders.)
I recall the fight not being quite so one-sided. (In Turtledove's story the "ground battle" was over in just a few minutes, most aliens not even getting off a second shot.)
I seem to recall the ground forces having time to report back to their commanders of the battle's progress. (i.e. They had radio communications.)
The main thing I recall is the aliens describing humans' full auto weapons as "stitching guns" or "stitching weapons." (Because when their troops would be hit by them they would get 4-5-6 holes appearing side by side across the body in a line.)
I seeming to recall the invasion lasted days or weeks before the aliens were defeated. (Maybe because the aliens didn't want to give up thinking the humans "stitching guns" had to run out of ammo soon. No way the humans could have that much ammo.)