[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Thanks alot for the File Trans. help! 1 more ??....(How to trans. Multi. files?)



On Thu, 02 Apr 1998 14:38:21 -0600, Rubywand <rubywand@swbell.net>
wrote:

>     What a lot of great info! I've been running to my GS to start
>Receives when all that's needed is to set Spectrum's Auto Receive. Even
>better, you cleared up the 'mystery' of sending multiple files under
>HyperTerm. Thanks!

No problem.  I'm glad that my post ended up helping more than one
person.

>     One thing you may be able to clear up: When files are sent (via
>z-modem) from the GS, HyperTerm receives them okay; but, it does not
>automatically exit the Receive sequence. I usually just click
>HyperTerm's Cancel button. (HT emulation is set for TTY.)  Is there a
>way around this?

Unfortunately, I can't clear this one up.  I'm pretty sure it is a
poorly written Zmodem receive routine in HyperTerminal because I've
never had problems doing Zmodem transfers to other programs.

I just hit the Cancel button myself but you could try David Empson's
suggestion of typing five Ctrl-X's on the IIgs after the transfer
finishes.  Heck, you could even write a batch file transfer script for
Spectrum that used the BatchXfer XCMD to send your files and then
transmit the five Ctrl-X's for you.

Actually, hold on a bit ...

[some time later]

I just did a few tests and I think that keeping the window open is
what HyperTerminal's programmers intended.  After a file transfer, it
says it is done but keeps the window open so that you can look at the
stats, I guess.  By hitting any two keys on the IIgs after the
transfer ended, the transfer window in HyperTerminal would close.

If you want the window to close immediately after any transfers you do
from your IIgs using Spectrum, just use the following script:

Set Quote %
Ext BatchXfer 0
If Failed Then Stop Script

Set Var OldDisplay %$OnlineDisplay%
Set OnlineDisplay %Spectrum SHR%

Ext BatchXfer 2 2
If Not Failed Then GotoNext End
Ext BatchXfer 3 0
If Equal %$0% %0% Then GotoNext End
Ask1 %Not all files were transfered.  Only $0 files were successfully
sent.% %^^OK%

# End
Transmit %^M^M%
Set OnlineDisplay %$OldDisplay%
Stop Script

You can change the % quote character to a bullet (option-8) or
something else if you desire but it shouldn't be necessary.  It was
done this way for ASCII transfer via this message.

If you want to call this script from one of your own scripts and have
it return to your script, just replace the "Stop Script" commands with
"ChainBack".

Hope this message also proves useful to many II users.  :-)

=== I've had enough SPAM.  Cut the obvious from my address to email me. ===