Download and upload images to a server