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

Discussion on the Lua Scripting capabilities for RaceCapture/Pro. Also see the <a href="http://autosportlabs.net/RaceCapturePro_Lua_Scripting">Lua Scripting Guide</a>

Moderators: JeffC, stieg

Post Reply
adamlevine
Posts: 1
Joined: Wed Jun 20, 2018 3:21 am

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

Post 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.

brentp
Site Admin
Posts: 6282
Joined: Wed Jan 24, 2007 6:36 am

Post 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.
Brent Picasso
CEO and Founder, Autosport Labs
Facebook | Twitter

Post Reply