I have an application that runs on a users machine (i.e. they download it and install locally). The application generates a .csv/.txt file which I would then like to be "sent" to my web server so I can display it on the website.

What would be the best way to send the file from the application to the server

Someone suggested using an IP and socket number?? Not sure where I would start with that though? For reference I use shared hosting..