× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



hi John,

Here's an article about using variables with an Expect script:
http://systeminetwork.com/article/easy-way-put-variables-expect-script-sftp

The article using the second of your suggestions (dynamically create the script) but it's really easy to dynamically create, as the article demonstrates.

Good luck

John McKee wrote:
So two possibilities:

1) Some wrapper characters, which I don't remember.
2) Dynamically create the script for each run.

Guess I am asking: Can a command line parameter be passed to a send, and, if
so, what is the format?


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.