Hi
My device generated data.txt file.
When I generate the report, I moving data.txt to backup\'dtos(date())'.txt file, and clearing data.txt.
In this moment I have:
1. Report from device,
2. backup file in another folder,
3. Clear data.txt - which wait for new datas.
When I do it only once by day it's no problem, but when I must do it second time by day, a have a problem with existing (backup) file.
I have a question:
How to append two files?
For example:
data.txt and 20030526.txt to new 20030526.txt
I hope that it's clear
My device generated data.txt file.
When I generate the report, I moving data.txt to backup\'dtos(date())'.txt file, and clearing data.txt.
In this moment I have:
1. Report from device,
2. backup file in another folder,
3. Clear data.txt - which wait for new datas.
When I do it only once by day it's no problem, but when I must do it second time by day, a have a problem with existing (backup) file.
I have a question:
How to append two files?
For example:
data.txt and 20030526.txt to new 20030526.txt
I hope that it's clear