upload server code