FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
09-10-2023 10:34 AM - last edited on 09-11-2023 08:07 AM by HmiGuide
Hello,
As i am new to the CXA_Socket communication & FTP functions, expect any samples to retrive a file stored in a computer (configured as ftp server) to ctrlX core.
I understood from the document that there are FB's that can accomplish it, which are "IL_FTPGetAsync" & "IL_FTPGetFileAsync".
IL_FTPGetAsync: "sRemotefile_Path was originally configured as "text.txt", which is the target file from ftp server. the value get replaced with fee character from the targetted file as shown in the below image
The error description says "Target buffer too small for file to be transferred". How can i fix it?
IL_FTPGetFileAsync: FB successfully completed the sequence, But did not retrived the targetted by to the path configured under Local file.
Could some one clarify, How can i successfully retrive the file from the ftpserver configured in my windows to my ctrlX core.
Thanks
Rathinavel L
Solved! Go to Solution.
09-11-2023 08:24 AM
Hello Rathinavel
the difference between both FB's is: