07-14-2008 07:33 AM
07-14-2008 08:57 AM
Hi Nelson,
it sounds like your microprocessor OS has a running FTP server. You can use the TCP/IP functions to build your own library to connect to your controller and get files from there or you use the ftp vi´s from the internet toolkit.
Hope it helps.
Mike
07-14-2008 10:05 AM
Hello Mike,
Thank you for your response.
I created a simple VI using the ftp functions available. I used the FTP Open Session.VI and wired the IP address. I then wired this VI to the FTP Logon VI and wired the username and password to it. I then wired this to the FRP Directory Listing VI and wire to it different path names I know exist on the system. For Example, if I want to get to my configuration direction using Windows Explorer I just have to type ftp://192.168.1.122/Settings. So for a path, I tried wiring "/" and "/Settings" and Settings to the FTP Directory Listing VI. The last subVI is the FTP Close Session VI.
The results are that after execution of the FTP Open VI there is a warning #220 (Warning 220 occrurred at 220 192.168.1.122 FTP Server Ready. This error code is undefined). After the FTP Login VI there is a warning #230 (Warning 230 occurred at 230 - Welcome to QNX Neutrino! 230 USer username logged in. This error code is undefined). After the FTP Directory Listing VI, there is a warning #15226 (Warning 15226 occurred at FTP transaction: 226 Transfer Complete. Possible reason(s): Internet Toolkit: (Hex 0x3B7A) 226 Closing data connection). In the resultant directory listing cluster, the name and link name variables in the cluster are empty but some of the other variables are not.
I must be missing something simple if I can open and see the files from Windows Explorer.
Thanks, Nelson
07-14-2008 10:13 AM
07-14-2008 10:17 AM
Thank you for your reply,
I have seen enough of these in other circumstances to have guessed they are bogus. I included them for completeness since I am still not having any luck tyring to establish an ftp connnection and seeing the same directory listing I see when I connect using Windows explorer.
07-14-2008 11:01 AM