How to make the server download a file without making a self restart