Upload file to server implemented.