add the transfer data code for server.but it has a problem,that file is not completed transfered.