Hi,
When using a modem for PC to PC transfer, you should use a file transfer
protocol -- even with error-correcting modems -- to make the process
comparatively simple. The SerialPort class has no built-in file transfer
capability. You can add this in code.
TAPI provides "transparent dialing," but it has no file transfer capability,
so if you were to use TAPI, you still would either have to write the code
for that portion.
You can download XMComm2004.dll from my homepage. This is a wrapper around
the SerialPort object that adds XMODEM error-checked file transfers (both
CRC and Checksum). The source code for this control is in my book (see
below). I also have code examples that illustrate automated file transfers
using this an similar controls.
Also, Sax (
www.sax.net) has a more sophisticated communications library for
..NET that offers additional file transfer protocols. There also are a few
other .NET libraries available, though Sax is the only one with which I have
"hands-on" familiarity.
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.