Generator for Running a Spot Welder?

Running a temporary line to garage would be your cheapest option.overloading a generator wont work.
Spot welder is a big surge,so running amperage has to be able to put up with the 50 amp draw.
Thanks, not sure a temporary line would be safe or feasible.