[upload] adding the possibility to cancel upload & now rejected promise get a reason string
[Generating dist files]