[comp.unix.questions] Downloading

blair@obdient.UUCP (Doug Blair) (02/04/88)

Greetings netlanders:

I have been given the task of setting up a system which will automatically

	1 - call our local tymnet dialup
	2 - log on to The Source
	3 - instruct the source to transmit a specific datafile
	4 - capture the datafile into a unix file
	5 - log off tymnet (we're not made of money)
	6 - send the data file to several users via email
	7 - send the data file to a remote printer reached via modem

This will probably involve a shell script starting cu and reading cu's
output (to receive various prompts) and echoing things back to the
transmit side of the cu process (to send passwords etc).  I had hoped
to set this up using the "chat scripts" in the /usr/lib/uucp/Systems
(Yes, we have HDB) file but of course those only seem to work in 
conjunction with uucico - and tymnet and the source don't act like
unix machines.

Any suggestions or hints you have along this line will be GREATLY
appreciated.  PLEASE RESPOND BY EMAIL - I'll post a summary of 
responses THAT WORK :-) to this group. 

Thanks!

===============================================================================
| Doug Blair             312-653-5527         ... ihnp4!laidbak!obdient!blair |
|               "I'm not a Consultant, but I play one on TV."                 |
| Obedient Software Corporation,  1007 Naperville Road,   Wheaton, IL   60187 |
===============================================================================

william@vax1.acs.udel.EDU (William H. York) (02/05/90)

I use procomm at my home pc and have had no luck transfering any files using
either xmodem, ymodem batch or kermit.

Any suggestions?

William@vax1.udel.edu

william@vax1.acs.udel.EDU (William H. York) (02/06/90)

In my last posting I asked for help downloading but got more questions
than I expected.  Here are some specifics...

I am using Procom version 2.4.2, running a Leading Edge with an internal
Hayes 1200 modem, my local (pc) line settings are 1200,E,7,1.
The most common download protocol I use is xmodem on the vax.  Procedure
is basically 'xmodem -sb <filename> ;  [pg-dn] (to dowload in procomm)
select the protocol, then type the lename and away it goes...
When the file is received to my local sys it does not function properly,
(ie executable file lock up the whole sys, and zip file do not unzip well)
Suggestions have been made regarding parity and word length settings...
I checked most of these, but have still not successfully downloaded an
excutable file effectively.

I hope this is enough info to help.

Any suggestions would be helpful.

William@vax1.udel.edu

kabra437@pallas.athenanet.com (Ken Abrams) (02/09/90)

In article <5666@udccvax1.acs.udel.EDU> william@vax1.acs.udel.EDU (William H. York) writes:
>In my last posting I asked for help downloading but got more questions
>than I expected.  Here are some specifics...
>I am using Procom version 2.4.2, running a Leading Edge with an internal
>Hayes 1200 modem, my local (pc) line settings are 1200,E,7,1.
>The most common download protocol I use is xmodem on the vax.  Procedure

In the beginning, there was E,7,1; all else was darkness.  This begat
Kermit and the hackers looked upon it and said "It is good".
Then there came N,8,1 and the protocals grew and multiplied; little
xmodems and ymodems sprung up all over the place.
The moral of the story is: If you MUST use E,7,1 you SHOULD stick with
Kermit (yech).  Procomm is not capable of switching packet patterns in
mid-call (and your modem may not be either).  All of the xyzmodem protocals
require N,8,1 and if BOTH ends can't gracefully switch, you are doomed to
failure.  Actually, your best bet is to try to force a logon at N,8,1.
A few C/Rs and a BREAK or 2 will usually get the hosts attention in the
right mode.  If that fails, you can sometimes even logon blindly
by ignoring the trash that echoes back and once you have entered your
logon and password, things will magically display readable characters
again.  If none of this allows you to logon at N,8,1 then you are
probably doomed to using Kermit.


-- 
========================================================
Ken Abrams                     uunet!pallas!kabra437
Illinois Bell                  kabra437@athenanet.com
Springfield                    (voice) 217-753-7965

schein@cbmvax.commodore.com (Dan Schein - Guest) (02/14/90)

In Message <5666@udccvax1.acs.udel.EDU>, william@vax1.acs.udel.EDU (William H. York) writes:

>I am using Procom version 2.4.2, running a Leading Edge with an internal
>Hayes 1200 modem, my local (pc) line settings are 1200,E,7,1.
>The most common download protocol I use is xmodem on the vax.  Procedure
>is basically 'xmodem -sb <filename> ;  [pg-dn] (to dowload in procomm)
>select the protocol, then type the lename and away it goes...
>When the file is received to my local sys it does not function properly,
>(ie executable file lock up the whole sys, and zip file do not unzip well)
>Suggestions have been made regarding parity and word length settings...
>I checked most of these, but have still not successfully downloaded an
>excutable file effectively.

 I use Procomm to up/dwn-load files from my Unix box on a regular basis.
 My settings are 8-N-1 (stay away from 7-E-1 if you can) and I always
 transfer archived files. Currently I have ARC and ZOO for both Unix and
 MS-DOS so this is real handy. I find that it has always resulted in a
 file of the correct length. Ive tried both Xmodem and Kermit - call me
 old fashioned but Kermit is my personal choice.

 Good Luck!

 Sneakers


-- 
 Dan "Sneakers" Schein	                   Here: sneakers@cbmvax
 Guest @ Commodore International Ltd. ____ Home: sneakers%heimat@commodore.com
                                     / / /
                                    / / /  Quote: Those who work the hardest
       BERKS AMIGA BBS      ____   / / /          are the last to surrender.
    24 Hrs - 12/2400 Baud   \ \ \ / / /
   100 Megs - 215/372-4553   \ \ \ / /     Gary Ward (Oklahoma State baseball)

dlucy@tropez.UUCP (Doug Lucy) (02/15/90)

In Message <5666@udccvax1.acs.udel.EDU>, william@vax1.acs.udel.EDU (William H. York) writes:
> 
> I am using Procom version 2.4.2... download protocol is xmodem on the vax
> [having trouble]
>

The ZMODEM protocol is available in source code for Unix and VAX. Using this
on the host and the DSZ (MS-DOS ZMODEM) as an external protocol to Procomm
will do wonders for your transfers (faster, error recovery, crash recovery,
more resilient to garbage, your parents will actually _like_ the next girl
you bring home, etc). In alll seriousness, we use Procomm to u/l and d/l to
Unix and VMS hosts. The file your looking for is something like rzsz0303 and
includes a _pre-compiled_ version for the VAX!

-- 

  "It's such a fine line between clever..."     < Doug Lucy           DC Pro >
  "...and stupid."                              < uucp:   uunet!tropez!dlucy >
  "Yeah, stupid."                               < bbs:          703-370-8672 >