Need help with SENDFTP()
seanster138:
You can use FileOpen() to read/write a file.
Hey guys
I have this snippet of code, I have already set up the pushnotification to my phone but i need help writing the part that allows the code to do the following:
- read the alert message
- then store that same message in a text file
- then send that file via FTP
This what i have;
if (alert) SendNotification("SELL signal on " + _Symbol);
if (alert) SendFTP("SELL signal on " + _Symbol);
if(!SendFTP("report.txt"))
Hey guys
I have this snippet of code, I have already set up the pushnotification to my phone but i need help writing the part that allows the code to do the following:
if (alert) SendNotification("SELL signal on " + _Symbol);
if (alert) SendFTP("SELL signal on " + _Symbol);
if(!SendFTP("report.txt"))