MOBILE-517 The url for downloading files is not correctly created for so...

...me typs of server