Carl Mailloux
ca...@oricom.ca
why eliminate uucp or ppp? uustat could give you the job status. If
you used ppp, you could then use rcp and check the status that way.
Needs some lateral thinking, but probably better than building your
own communication tools from scratch.
Of course, I bet that JP's got a tool or Kermit would work also.
--
----
Jim Sullivan
Manager, ATG
SCO - j...@sco.com
831 427 7108
I must do a telecommunication station that do not need operator. With uucp,
it's difficult to do the monitoring of the job. I don't know if uucp is
processing the transfert or do nothing.etc.
With ppp, I have the same problem and more. I have tried to mount a disk
with nfs. He work good. Maybe, if one of modem disconnect, the system freeze
when I do a command on the mounted nfs drive.
For this reason, I think the better solution is to have a sofware that when
he is called:
1. Dial the modem
2. Proceed the transfert.
3. Return 0 if success or different of 0 if fail.
> Of course, I bet that JP's got a tool or Kermit would work also.
Do you have link about this sofware.
Carl Mailloux
ca...@oricom.ca
On Thu, 18 Nov 1999 00:22:33 -0500, "Carl Mailloux" <ca...@oricom.ca>
wrote:
>I search a lib in c or c++ or a software that allow to transfert file by
>modem. If it's a software, I would like to know if the transfert is a
>success or if the transfert have failed when the program terminate. For this
>reason, eliminate uucp or software that require a call to command pppattach.
>
>Carl Mailloux
>ca...@oricom.ca
>
Jack Bone
Software Design Engineer
Professional Data services, Inc.
Difficult? Typing 'uulog' is difficult?
I am under the impression that you never even tried to use uucp.
Have you used it? And what information are your missing about what it
needs to do, or what it already did?
--
JP
>I am under the impression that you never even tried to use uucp.
>Have you used it?
Yes
>And what information are your missing about what it
>needs to do, or what it already did?
>
Every night, I must send data on many server. When the transfert is
processed, he do not have a person to check the job. If it have any failure,
I must use an other telecommunication technologie to inform the person of
the failure. If I am not able to do a good monitoring with script or
software, I am not able to inform a person of the failure. uucp work good if
you have an operator to check the processing.
Carl Mailloux
serv...@mediom.qc.ca
Well, tail the uucp log, and mail what it says to yourself or anyone
else.
--
JP
-sw
Carl Mailloux <serv...@mediom.qc.ca> wrote:
> Jean-Pierre Radley a crit dans le message
> <1999111918...@jpradley.jpr.com>...
>>Carl Mailloux opined (on Thu, Nov 18, 1999 at 10:08:20PM -0500):
>>| James R. Sullivan <j...@sco.com> a crit dans le message :
>>| 38342C0E...@sco.com...
>>| > Carl Mailloux wrote:
>>| >
>>| > > I search a lib in c or c++ or a software that allow to transfert
>>| > > file by modem. If it's a software, I would like to know if the
>>| > > transfert is a success or if the transfert have failed when the
>>| > > program terminate. For this reason, eliminate uucp or software
>>| > > that require a call to command pppattach.
>>|
>>| > why eliminate uucp or ppp? uustat could give you the job status. If
>>| > you used ppp, you could then use rcp and check the status that way.
>>| > Needs some lateral thinking, but probably better than building your
>>| > own communication tools from scratch.
>>|
>>| I must do a telecommunication station that do not need operator. With
>>| uucp, it's difficult to do the monitoring of the job. I don't know if
>>| uucp is processing the transfert or do nothing.etc.
>>
>>Difficult? Typing 'uulog' is difficult?
>>
> Is difficult if you do not have person to type them and check them
>>I am under the impression that you never even tried to use uucp.
>>Have you used it?
> Yes
>>And what information are your missing about what it
>>needs to do, or what it already did?
>>
> Every night, I must send data on many server. When the transfert is
> processed, he do not have a person to check the job. If it have any failure,
> I must use an other telecommunication technologie to inform the person of
> the failure. If I am not able to do a good monitoring with script or
> software, I am not able to inform a person of the failure. uucp work good if
> you have an operator to check the processing.
> Carl Mailloux
> serv...@mediom.qc.ca
Why? As the principal authir of xc, don't you think I would have
suggested it?
Scripting either kermit or xc to do what he wants is doabnle, but silly.
Uucp is what he ought to use.
--
JP
>Every night, I must send data on many server. When the transfert
>is processed, he do not have a person to check the job. If it have
>any failure, I must use an other telecommunication technologie to
>inform the person of the failure. If I am not able to do a good
>monitoring with script or software, I am not able to inform a
>person of the failure. uucp work good if you have an operator to
>check the processing.
The transmitting machine should be able to notify you of failure,
and if you should also be able to have the receiving machine notify
you of correct reception.
I've never had an problems with uucp, but used to regulary move
100MB/day over dial ups 7x24x365 for about 3 years. You shouldn't
have to have an operator to check uucp transmissions. Maybe there
is something you are trying to do that you haven't informed us of.
--
Bill Vermillion bv @ wjv.com
> Why? As the principal authir of xc, don't you think I would have
> suggested it?
Not necessaryily. I'm just offering options for what I think
he wants to do, rather them telling him what he should do.
> Scripting either kermit or xc to do what he wants is doabnle, but silly.
> Uucp is what he ought to use.
I think he wants instant notification. Somewhat like a shell script
that says send this, did it work, if not send it again. Then send this...
He may relize that eventually he should use UUCP, but the way I see it,
he would have a hard time writing a bunch cron jobs or moderately
more complicated shell scripts, while learning UUCP.
Admittedly, A "while not uustat -m|grep systemname SUCCESS sleep" would
pretty much have the same effect, and you don't have to worry
about other software messing with your modems. Setting up modems
and machines to use UUCP also sets them up for suite of other standard
utilities that may be necessary at some time or another, anyway.
Yes, I'd use UUCP too, but if I didn't _know_ UUCP as well as I do....
-sw
> | Carl Mailloux <serv...@mediom.qc.ca> wrote:
> | > Every night, I must send data on many server. When the transfert is
> | > processed, he do not have a person to check the job. If it have any failure,
> | > I must use an other telecommunication technologie to inform the person of
> | > the failure. If I am not able to do a good monitoring with script or
> | > software, I am not able to inform a person of the failure. uucp work good if
> | > you have an operator to check the processing.
> |
> | > Carl Mailloux
> | > serv...@mediom.qc.ca
> |
> |
I have to add that the script is not that complicated. Every night I
collect from and send data to 120 sites. We have a script which checks
for success, then resends the site if it failed. If the site fails a
second time, the script notes how. Each morning it mails a report to me
and another user saying how many sites and which were successful, how
many files were transferred, and how many sites and which failed. It
even tells which kinds of failures (no modem connection or modem answers
but login fails, or login works and line is dropped during
transmission.)
I can send the script to you if you think that would help, but uucp
works for us.
Steve Rothstein
I have solved my problem with uucp and it work good. With the command
uustat -q, it's possible to know if uucp work or do nothing. At this time,
my script cannot work if uucp contains jobs. Maybe, I will correct them.
Thanks for your answer,
Carl Mailloux
ca...@oricom.ca