Is It Possible to Use FTP Commands on a National Instruments Real-Time Device? Primary Software: LabVIEW Toolkits>>Internet Developers ToolkitPrimary Software Version: 6.0 Primary Software Fixed Version: N/A Secondary Software:
Problem: To create or delete a folder on a Real-Time (RT) device I always use either the Measurement Automation Explorer (MAX) or a FTP software. Is it possible to programmatically use FTP commands? Solution: To implement this functionality, use the TELNET SubVIs of the Internet Toolkit or the SystemExec.vi of the base software LabVIEW. The Internet Toolkit VIs are located at: C:\Program Files\National Instruments\LabVIEW #.#\vi.lib\addons\internet Used FTP commands: telnet 'IPAdress' 21: telnet is the protocol and the 21 is the used port user: username pass: password mkd C:\test.: mkd is the command for "make directory" The attached example shows one way to establish a connection to an FTP server using the Internet Toolkit. It is important to know that a possible parallel FTP (port 21) communication (via LabVIEW, Internet Explorer, FTP Client or whatever) does not affect the Telnet communication and vice versa. Related Links: Attachments:
Report Date: 06/21/2007 Last Updated: 11/05/2007 Document ID: 4AK2TB5K |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
