I am currently making a smart phone application in Java, and this application would require sending files from the smart phone to a server that is running Ubuntu 12.04.
What would be the best way to go about doing this? I have come across many ways, but which would be the easiest to implement? Is there source code that already exists for this that I can use?