I am thinking maybe i should restrict it to 8k. I’d like to open a file and write from start to end everytime. However if for some reason (say power outage) it doesnt complete i do not want corrupt data. Is there a way i can do a transactional file open/write/close so it doesnt replace the previous file unless its a success?
When i google i get many results on database transactions and ado instead of files
To prevent data loss if you lose power after step two but before step three, you need one more step: