Hi all,

This session gives the reader a good idea of what I'm trying to accomplish.

[User.at.Machine ~]$ string=foo
[User.at.Machine ~]$ sftp <<good_credentials>>
Connected to <<remote_host>>
sftp> !echo $string

sftp> !echo bar
bar
sftp> !string=baz
sftp> bye
[User.at.Machine ~]$ echo $string
foo
[User.at.Machine ~]$

I am trying to both reference and assign here. Can I access local variables in this way? Should a work-around be used? Replies are much appreciated.