|
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?
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.