Hi
Why is this working:
IF FTPGet(GlobalProcedures.ftpconnectionid,
GlobalProcedures.cs_targetupdate_ + "exe/scanner.exe",
"somelocallocation") = True THEN
ELSE
Open(EXPRESS_WIN_error,lafile,ErrorInfo())
END
And this not?
[code:wl]
filearray is array of string
Add(filearray,"scanner.exe")
[ FOR EACH lafile OF filearray
IF FTPGet(GlobalProcedures.ftpconnectionid,
GlobalProcedures.cs_targetupdate_ +"exe/" + lafile,
"somelocallocation") = True THEN
//open(EXPRESS_WIN_message,"Download Completed.",1,0)
ELSE
Open(EXPRESS_WIN_error,lafile,ErrorInfo())
END
END
/code]
(only usefull code mentioned) The 'not working code' is just an array
with some files to download but it doesn't seem to work. When I type
the full name then it is downloading...? Is their something wrong with
the syntax of: GlobalProcedures.cs_targetupdate_ + "exe/" + lafile