I have started to use FTPGetFile.
It works fine when I give the complete parameter line.
But when I use a variable for the parameter line it does not work at all.
What shall I do to use variable(s)??
(In my case I want to build the fieldnames in the program, while the filenames vary from time to time)
Thank you
Liberty from Sweden
FTPGetFile with variables
Moderators: Dorian (MJT support), JRL
I did not get any answer to my question so I have to reply myself.
As I concluded it is not possible to store the complete parameter line as a variable and then make changes to this variable and use the FTPGetFile command again in a repeat loop.
However I found after trying that it is possible to use variables within a specific parameter in the line. E. g. its is possible in this way to change some part of the filename by using a string variable.
As I concluded it is not possible to store the complete parameter line as a variable and then make changes to this variable and use the FTPGetFile command again in a repeat loop.
However I found after trying that it is possible to use variables within a specific parameter in the line. E. g. its is possible in this way to change some part of the filename by using a string variable.