According to ChisF, you have to put the entire striing set into a string var and place that in there as the command:
stringVari = “send:” + Log_sFilePath + Log_sFilenameDay + “,” + Log_sRemoteFilePath + Log_sFilenameDay;
Log_SendFileStatus = SendCommunicationHandleCommand(ch_FtpTransfer, stringVari);
I guess I missed the part where it explains this in the docs?
That is an assignment statement (for the string) and is valid.
That is not an assignment statement for the string and is invalid.
I’m pretty sure this has to do with memory allocation at compile time - the Opto compiler doesn’t perform any implicit memory allocation, so string concatenation must be assigned to a string variable so that memory allocation is explicit. At least that is how I understand it.