well, I think you'd have to use a dogbone adapter to bring the 50A source to the 30A extension cord..... then another dogbone adapter back at the other end...
it would be like plugging your 50A rig into the 30A outlet in a campground. Only half of your rig's panel would be powered....even still, I would be extremely cautious in keeping the loads light
__________________
|