I'm working on a project that will involve several Raspberry Pi's. Each Pi will have the same image and same scripts installed. Each Pi will upload two text files four times a day. The files will have a unique ID number, followed by comma separated values.
I'm stuck trying to figure out the best way to upload these files and have php process the data for input into mysql databases. The major problem is that each Pi will be uploading files of the same names, and I fear data being over-written. With 200 Pi's, that's 800 files every day. I'll certainly have a race issue.
Any thoughts on the best way to go about this?