DTD
The DTD vacuum from 60s-80s are probably your best bet tackling both jobs. Compacts, luxes, eureka, hoover, rainbow and filter queen canister vacuums would clean the draperies far better than upright vacuums.
Kirby, royal, eureka,Hoover uprights in general deep cleaned carpets better. The reason being size of brush roll and the entire vacuum was made to clean flooring areas.
Im not saying a Kirby or royal in cannister mode or compact or electrolux with a power nozzle wasn't just as good. Im generalizing the most effective.
My Kirby tradition, royal 880, IEC C9 , electrolux super j are good at both.
My rainbow silver with wessell werk ebk 360 and my sanitaire s667b are both great.
Canisters have longer hoses making ideal with reach. Uprights with full vacuum motor propelling brush,
If your vacuum sucks it's perfect.
Les