Hello,
I'm trying to send data every hour to a server via ftp in files called "Table_YYYY-MM-DD_.dat":
FTPResult=FTPClient ("192.168.1.1", "User", "User_PW","FTPTest2", "FTPBale_YYYY-MM-DD_HH-MM-SS", 2, 0, 1, Hr, 8)
The files received contain the expected record records, but its behavious is different from the doc (I'm using a CR300 this time but it is the same for a CR6 datalogger). The timestamp of the file is supposed to be the first record timestamp, but it appears to be the last one.
From https://help.campbellsci.com/crbasic/cr300/#Instructions/ftpclient.htm:
If streaming data, the timestamp of the first record streamed is used in the remote file name. If data streaming is not used, the current datalogger clock time is used.
Am I missing something or there is an error un the doc? I really hope I'm missing something!
I thought about using the timestamp function of the tables to reconstruct it but as the connexion is not stable, I prefer to use the build-in function of ftpclient.
Regards,
Pascal