so yes this can be macro coded. My curent working theory on the mater. as i don't have time to test and cod such a thing...
you will have to have Your iot device send the data via htmp Fake php strings... add url secondary data via a ? and post url red write data via & ...
-----------------
This is why i also sent you to a working post method
i sent you leo simple contact template as that has the codes you will need to modify for the macro code/hfs side to accept the url string.
------------------
Hfs base line:
You will have to create a vitural folder in HFS
You will have to code a Macro script form
----------------------
You wil lhave to setup the iot to talk to the vitural folder sending a url full string example:
(Pulled form a sucessful post of the url data sent to hfs via macro write - with is wht you would use to post upload)
you will send the requested data via example: /Contact/?name=Brandon+Martino&email=my@test.com&subject=ff&message=pass+pass+pas&SubmitMessage=something
**********
so your sending data via the field on your virtual folder script.
[DEVICE_UUID\signal_log\DATE\]
decoding the example log and breakdown via url sending(the ### would be the data the iot device is sending...)
THis would be example of what your iot device making the request might look like
http://hfs-ip/Vituralfolder/?field-UUID=#####&Nextfield-SignalLog=######&Nextfield-date=######&nextfield-file=file.cvsIOT would send something like this via your previos post
http://xxx.xxx.xxx.xxx/vituralfolder/?UUID=WISE4012_1234&Signallog=signal_log&date=20190102&file=2235.csv----------------
HFS setup:
the viturl folder can use a macro to take the field
field-UUID=#####
Nextfield-SignalLog=######
Nextfield-date=######
and creat a realfolder via macro script
http://www.rejetto.com/wiki/index.php/HFS:_scripting_commandsmkdir | A
creates the specified folder. URI is supported in A, but it must refer a real folder.
then uplaod the cvs file to hfs:
nextfield-file=file.cvs
{.save|/%folder%/Private-Message-{.time|yyyy.mm.dd'-at-'hh.nn.ss.}
you could even skip some field formt eh form for the date.
this is the best i can do for yo on short notice