Have you considered using an sd-card to store the data as this would be much easier to do and it would probably have space for many days worth of data storage?
Failing that an easy way would be have it serving a web page which simply displays all collected data which you can then access on your PC, copy/paste the data from the web browser.
Then have another web page which when accessed clears all stored data and starts collecting again
see example of serving simple web pages here: BasicWebserver/VeryBasicWebserver.ino at master · alanesq/BasicWebserver · GitHub
It is possible to FTP if you need it to be fully automated but this would get a bit more involved. You would I think need to set up Spiffs and store the data in there as a text file then use an FTP library to periodically transfer it to your PC
I’m not consider using a SD card, because i’ll need to write a lot of information, and could have some error and corrupt all data.
My project will have colecting data every 250ms in worst cases, and write in memory that information in a text file (i thinks is the easiest way). Because the amount of data, i need to have some “automatic” way to trasnfer that data/file to my PC or NAS and erase that data from SPIFFS to have again more space to start over.