Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Serial communication
Message
From
03/08/1999 13:35:09
 
 
To
03/08/1999 13:15:20
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00249305
Message ID:
00249323
Views:
27
>Does someone use a communication library with vfp to send files through modems from one location to a another.
>

There are a bunch of ways to approach this. if you want to write your own comms, you can go as low-level as you'd like - the MSCOMM32 ActiveX control gives you low-level access to the comm port, but you need to build things up from there.

A number of people use the CommTools package, which can be purchased from halloGram. It has some concepts of dialing and file transfer protocols, making an easier task of the process.

IMO, the best way to approach this is to remove VFP from any involvement with communications entirely. You can use any of several Wide-Area Networking services such as RAS to establish a dial-up connection between two machines, and once the connection is established, it's simply a mater of copying files to and from systems. The same approach can use the services of a VPN (Virtual Private Networking; a way of establishing a secured connection between multiple systems using the Internet as a transport layer) - you simply set up the systems to make the necessary connection on-demand, just like you do with any other dial-up connection, and use the high-level services of the established connection to copy files, etc. You can, if your volume of data is small, even connect to databases across such a connection. let WIndows handle the management of the connection, and let VFP do what it does best - perform file operations.

Rick Strahl's book Internet Applications with Visual FoxPro 6.0 deals with this problem in considerable detail, showing a wide range of solutions that divorce VFP from the responsibility of making the connection and managing the acurate and secure transfer of data across a dial-up or other WAN connection. You can order it from the publisher, www.hentzenwerke.com or from Rick's Web site, www.west-wind.com, which also has some neat whitepapers on using the web and VFP.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform