Hi,
The NI Internet Toolkit has Telnet VIs which you can use for your task. See the following for details:
http://sine.ni.com/apps/we/nioc.vp?cid=2501〈=US
You may want to check, from the box on the right-hand side, the reference manual under Product Manuals. This gives you specific details on these VIs.
Hope this helps.
Khalid