Hi,
I could develop one sample program for data logging using the library available with PLCnext Store. But unfortunately i couldn’t find any option to transfer the logged data using FTP . Can anyone please help with the sample code for the same…
Hi,
I could develop one sample program for data logging using the library available with PLCnext Store. But unfortunately i couldn’t find any option to transfer the logged data using FTP . Can anyone please help with the sample code for the same…
Hello, If you are comfortable creating bash scripts and cron jobs in Linux, then it is possible to implement a transfer mechanism for your log files that just runs on the OS, without any connection to your PLCnext Engineer project. This would involve creating a cron job that calls a script that uses (for example) ftp or sftp via curl, or - my preference - rsync to a NAS device with rsync support. If you need to trigger the file transfer from within your PLCnext Engineer project … then I don’t know of a simple way to do that. I know of at least one non-simple way … using a C++ component to do the system calls … but this seems like an overly-complex way to perform a simple task. Martin.