Sending Data to webserver using ESP8266 with FTP

I am trying to send data on webserver and I am using ESP8266 NodeMCU module. I have successfully uploaded data using FTP. I am saving sensors’ data in txt file and then uploading it to web server. Now my questions are:

  1. IS there any other way to upload data and directly save it in database instead of hosting? FTP saves data in hosting and not in DB.

  2. I want to use ESP8266 in its simplest form as its too low cost, nodemcu is quite expensive. so can this module ESP8266 be able to upload data via FTP or any other way?

ESP8266 simplest form I am talking about: https://www.theengineeringprojects.com/ … tions.html

Its small in size and easily interfacable with arduino nano so the overall size will be very small (plus point), secondly its cost efficient. So, please any help will be much appreciated.

Thanks.