Upload/DownLoad Automation

Upload/DownLoad Automation

Post by Renney Thom » Sun, 04 Jan 1998 04:00:00



I have a need to :
1. Log into a pc based BBS system
2. Answer login/password prompts
3. Upload a file using zmodem.
4. Down load a file using zmodem.
5. Log off.
6. Repeat every day.

What is the best way to do this in Unix? I would like to avoid
developing C code and sifting through Zmodem code if avoidable!
What command line tools should be used for a reliable solution?

This is rather urgent... Thanks for any help!

 
 
 

Upload/DownLoad Automation

Post by Cameron Lai » Mon, 05 Jan 1998 04:00:00




>I have a need to :
>1. Log into a pc based BBS system
>2. Answer login/password prompts
>3. Upload a file using zmodem.
>4. Down load a file using zmodem.
>5. Log off.
>6. Repeat every day.

>What is the best way to do this in Unix? I would like to avoid
>developing C code and sifting through Zmodem code if avoidable!
>What command line tools should be used for a reliable solution?

>This is rather urgent... Thanks for any help!

Use Expect <URL:
http://starbase.neosoft.com/~claird/comp.lang.tcl/expect.html>.
It's ideal for this situation.
--

Cameron Laird           http://starbase.neosoft.com/~claird/home.html


 
 
 

Upload/DownLoad Automation

Post by Frank da Cr » Mon, 05 Jan 1998 04:00:00



: I have a need to :
: 1. Log into a pc based BBS system
: 2. Answer login/password prompts
: 3. Upload a file using zmodem.
: 4. Down load a file using zmodem.
: 5. Log off.
: 6. Repeat every day.
:
: What is the best way to do this in Unix? I would like to avoid
: developing C code and sifting through Zmodem code if avoidable!
: What command line tools should be used for a reliable solution?
:
C-Kermit 6.0:

  http://www.columbia.edu/kermit/ck60.html

It has its own built-in scripting language, which works uniformly
over serial, Telnet, and X.25 connections.  It can also run rz/sz
(etc) as an external protocol on the connection you have made,
provided you have a version of rz/sz that allows its i/o to be
redirectred.  Or you can use Kermit protocol instead of Zmodem.

- Frank

 
 
 

Upload/DownLoad Automation

Post by Anthony Talltr » Thu, 08 Jan 1998 04:00:00


Quote:>It can also run rz/sz
>(etc) as an external protocol on the connection you have made,
>provided you have a version of rz/sz that allows its i/o to be
>redirectred.

I've never actually managed to make this work.  Any suggestions on
an available source bundle of rzsz that works?

Quote:>  Or you can use Kermit protocol instead of Zmodem.

A fine idea, when the other end supports it.  An irritating number of BBS
boxes don't support the protocol, though.

Ckermit's a fine package, and I'm always amazed that people still use tip.

 
 
 

Upload/DownLoad Automation

Post by Frank da Cr » Fri, 09 Jan 1998 04:00:00



: >It can also run rz/sz
: >(etc) as an external protocol on the connection you have made,
: >provided you have a version of rz/sz that allows its i/o to be
: >redirectred.
:
: I've never actually managed to make this work.  Any suggestions on
: an available source bundle of rzsz that works?
:
: >  Or you can use Kermit protocol instead of Zmodem.
:
: A fine idea, when the other end supports it.  An irritating number of BBS
: boxes don't support the protocol, though.
:
: Ckermit's a fine package, and I'm always amazed that people still use tip.
:
Thanks for saying so.  C-Kermit can be found at:

  http://www.columbia.edu/kermit/ck60.html

As for BBS's, they have no excuse for not offering a top-notch Kermit
protocol service; they just have to take a few minutes to download the
software and read the instructions for installation and use.  Start by
reading the article on the subject in Kermit News #6:

  http://www.columbia.edu/kermit/newsn6.html#bbs

- Frank