Writing csv file and sending to other server?

I need to automate export from Wix database and send to another server elsewere. Manual import/export is not an option.