Copy a file to the server.