it is not a "scam", You pay for a training. and what say the contract?.
it is legal to train pilots, you buy a service(look at the contract)
there is a contract resiliation?, what say the contract? nothing, so the training provider can legally keep the money and kick you your butt when you ask for your money back!
this is the questions you must ask yourself:
have you asked for a work contract?
have you notorized the contract forms?
do you have contacted an attorney?
Do you have contacted the CAA of the country about your training?
have you visited the school?
do you have a copy of the contract?
have you look at the contract resiliation? why does it say?
do you approve the contract?