Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can you ......

Status
Not open for further replies.

FBM357

MIS
Jun 2, 2003
77
US
Pass a file (has commands in it) as a parameter (like you can using FTP) using TELNET?
 
2 possible options:
a - use input redirection, like
Code:
TELNET <SCRIPT.TEL
b - use keyboard-stuffing, a small tool that sort-of types commands for you. wouldn't know where to get this really old dos-stuff though, maybe on download.com

disadvantage of a) all commands have to be in the script, yu can't take over halfway, after reading all script commands
disadvantage of b) some small tool stays in memory during execution of telnet. (Who cares ;-) )

HTH
TonHu
 
Tonhu, thanks!

Are you stating this can be done? with FTP, I do the following... FTP -s:filename and it works fine. I'll try your method. However, here's another issue for you (*smile*), what about doing this in Windows 98? (Telnet operates via Windows not DOS) Also, can a file be passed via a program written in VB?

Thanks with your help.

FBM
 
It was merely an untested suggestion [morning]

Grtz
TonHu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top