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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need to use dialentry name as file name to Receive from remote host

Status
Not open for further replies.
May 6, 2002
2
US
I am trying to use the dialentry name as the file name of a file I am receiving from remote host using Xmodem-1k . It would let me use one script for multiple hosts. I would also like to use the dialentry name for a capture file as well. Thank you in advance for any help you might have.
 
You can get the current or last-dialed entry by querying the $DIALSELECT sytem variable. Once you have that variable in a string, you can then use that as the filename argument in the getfile command to save a downloaded file using the name of the Connection Directory entry. You would use the set capture file command to set the capture file name to that of the entry as well.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top