Hello Rathinavel
the difference between both FB's is:
IL_FtpGetAsync: Retrieves the content and stores it into a variable. You have to provide a variable where the data is stored, but you provide the file name variable (that's wrong). Expecting that you read a string variable, you define e.g. strData: STRING(1000); ValueAdr := ADR(strData); NoOfBytes := SizeOf(strData) Keep in mind, that the standard string function can only handle strings up to a length of 255 char. => Use string functions of library CXA_Utilities ofolder String Functions NoLimitStrLength
IL_FtpGetFileAsync: Retrieves the content and stores it into a file. When the FB executes successful, search the file in the active solution path of the PLC. Use either the file browser of PLC engineering or IDE app.
... View more