Logic Machine Forum
send Trend .csv to email without ftp - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: send Trend .csv to email without ftp (/showthread.php?tid=4524)



send Trend .csv to email without ftp - Krists - 23.01.2023

Hello.
I found many script how to send exported .csv file to email through ftp.
But is there any working script that doesn't use ftp server to send the file.

Thank you


RE: send Trend .csv to email without ftp - admin - 23.01.2023

You don't need FTP to send the file. Some scripts incorrectly use filesystem as a temporary storage for the file.
The CSV data (as a string) can be sent as attachment directly from the script without saving it to a file.