opensubscriber
   Find in this group all groups
 
Unknown more information…

e : expect@listserv.ActiveState.com 28 January 2005 • 11:09PM -0500

[Expect] Expect issue with spawning ftp
by Ramanand J

REPLY TO AUTHOR
 
REPLY TO GROUP




Hi there,

I'm having a little trouble with one of my expect
scripts. The script essentially spawns a ftp process
and uses it to transfer files. It has been in
existence for a while and nothing w.r.t ftp logic has
changed.

Now on one installation, we see "spawn id exp4 not
open" errors. The first "expect" block after spawning
ftp gives this error, and always.

I wrote another script to check if it was specific to
my code or a problem with expect. I got the same error
with that simple script. I have attached it here
(attached: xpect_ftp_test_vf.tcl, part of the output:
test_output_vf.txt)

The env details:

* Expect version: 1.0.1
* Tcl version: 8.4.9.0
* OS: windows 2003 enterprise edition, version 5.2,
sp1, v1

I have been able to run the original scripts from
another Windows 2003 (but with expect 1.0) and a Win
2000 m/c.

I also noticed a previous post:
http://aspn.activestate.com/ASPN/Mail/Message/expect/2294565
where a similar "spawn id"/"read eof" message
combination was seen. Not sure if both are due to the
same underlying issue.

We have been able to run the ftp client from the
machine where the expect script could not be run.

Would appreciate any comments on this. Is there
anything I'm missing?

Thanks,
Ramanand

=====
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Weblogs:
Personal: http://quatrainman.blogspot.com
Interrobang (the quiz blog): http://notesandstones.blogspot.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com


Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.