Sending local file to server

Needs to be tested