Hi,
What I said applies. I have example code that sends and receives simple
(non-error corrected) files. These are more complex than error-corrected
file transfers for two reasons. 1, you have no way to know if the data have
been received correctly (obvious?). 2, you have to make some assumptions
about how long it takes to send the data (and for it to be received)... You
cannot just blast it out and hope.
Certainly, you could use TaskScheduler to start your program. You also
could simply write your program to set its own schedule. This program could
be a standard desktop applicaton (add to the Startup group, perhaps), or it
could be a written as a Windows Service.
The devil is in the details. Nothing you want to do is difficult
(sheduling, dialing and monitoring the connection, log-in (which, btw, is
the trickiest part), sending the file, sending an email and either exiting,
or waiting for the the next sheduled time to start the process again.
Getting it together might take a few hours, days, or weeks, depending on
"stuff."
Personally, I might do this as a Windows Serivce, perhaps. It could be set
to auto-start, and simply run in the background.
Task Scheduler is a Windows Service that will start up a standard
applicaton, so you could actually use it more simply than writing your own
service. So it is your choice.
You cannot automate HyperTerminal for this purpose, in any reasoable way.
The only "good way," IMO is to write your own application that does what you
want. If it is as simple as you state, I suspect that it might take me a
day to write and test -- so you might want to plan on spending a little more
time, and effort, than that.
Dick
--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See
www.hardandsoftware.net for details and contact information.