I sure hope that you're a programmer and can write and understand coding. This is what it will take for you to upload a file from your Android device to a server. The coding is extremely long and will take time to write it. However, I did find this code online that you can use. Here is the link to the website and the code so that you can accomplish the task and write the batch file or coding necessary to do what you want to do. Android Upload File