Yes that does help. I will try that then. So you can only write as many characters to a text file as you have inputted blank spaces beforehand. Correct?
I presume that to write a random number of characters, you have to fill a text file with blank spaces and then just append text to it, over some of the spaces.
I have currently been fiddling with the code to get it to write to a different text file each day. I use numbers for each text file and then get it to write to the text file relating to that day. I have to have created the files first though. Unfortunately, I just managed to break my GPS which was feeding me the date data (along with other stuff) so I can't do that anymore...
So the fact is that you can only write to a file that already exists. You can only write in spaces that have already been 'filled'. You cannot physically create files and you cannot physically delete files using the arduino.
Mowcius