This is relatively simple. Even using the mscomm. The easiest thing
to do is look at the sample comms program bundeled with VB.
It would a good move to make a note of the strings coming in from the
romote host, and write your response back out, a little like scripting.
example:
Send ATD + phone number
when you receive "logon" send your.name
when you receive "password" send your.password
once in simply send the commands needed to get the files you want.
The file names could be variables past in from a text box, which the
user can change at will.
If you are calling the same romote then the strings coming back will
almost always be the same.
The file you want to look at is vb\samples\vbterm.mak
It is easy to read and change for your own use. I did this at
University to logon and check my email automatically.
hope this points you in the right direction. The more you play with
it the more you learn.
John
--
~~~ In the immortal words of Socrates........... I drank what?? ~~~
~~~ ~~~