Page 1 of 1

Lua Script to move all files from a folder to a SFTP server

Posted: Wed Jun 20, 2018 3:39 am
by adamlevine
Hi,

I'm looking for a script that will allow my Wing FTP task to move all files from a single network folder to a folder on my SFTP-server. Does anyone have an example for me?

The task would run every 10 minutes and should move (not copy) the files.

Thank you in advance.

Posted: Mon Jul 09, 2018 9:38 pm
by brentp
Sorry, that is not possible at the moment. The Lua runtime does not have access to any networking on the unit; it's strictly designed for local data processing and custom real-time math channels.