ESP8266 data upload to web server with FTP

I am working on a microcontrolelr project where I am trying to send data to web server using NodeMCU via FTP.

I have achieved that successfully, now my question is:

1) I am uploading data via FTP in txt file, which is saved in hosting space, so is it a secure way to do that ??
2) Is there any way to upload data directly to DB instead of first saving in txt file?
3) I want to use ESP8266 in its simplest forrm:
this one -> https://www.theengineeringprojects.com/2018/08/esp8266-pinout-datasheet-features-applications.html

So, would this module be able to achieve this which I have achieved with NodeMCU.

Third question is hardware based so you can ignore it.

Thanks in advance.
1) I am uploading data via FTP in txt file, which is saved in hosting space, so is it a secure way to do that ??
No.

You need at a minimum to establish a secure link.
Maybe https://en.wikipedia.org/wiki/SSH_File_Transfer_Protocol

2) Is there any way to upload data directly to DB instead of first saving in txt file?
Depends on the DB I guess.
Topic archived. No new replies allowed.