SD CARD SEND FILE TEXT TO SERVER

Good morning guys , I'm collecting data from a sensor for SD CARD in txt format , now would like to send this txt with the collected data to a web server , how can I do this ? send 1 in 1 min to server data , I am using wifi shield CC3000 , arduino mega, the sd card is the CC3000 own . Send txt to server.

I don't understand what you are trying to do. You have the sensor being read, and the data being saved in the SD card and you want a button that if is pressed the application sends all the content of the SD card to the web-sever? Or you want a different application only to send the data to the web-server?

What do you mean with "web server", should it be a server where you store the data in a file system (e.g. for building an archive) or should it be a website that displays the current value only or should it display the old values also? In case it should display the current value only it could be sufficient to use the Arduino as webserver. Have a look at the example files under Files > Examples > Wifi