Upload to server function is completed