Fixed bug building download and upload urls