move server program
remove tmp file