download service working downloads the resource to the destination directory passed