Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data transfer between several sites and server
Message
From
28/01/2005 04:47:18
 
 
To
27/01/2005 03:59:49
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Miscellaneous
Thread ID:
00981124
Message ID:
00981636
Views:
26
>Pls help me to find a reliable solution in the following situation:
>We have several locations spread arround the country and we need to transfer data automatically to the server during night.
>Our application is written in FoxPro 2.6 and, for now, transfer is done by email. How can I use XML or web services or something else to transfer data?

We do it with a Web Service. You can build a Web Service on the server to accept that data from a method such as SendData(). I assume you would probably want to have authentication on that one as you are uploading data on the server. This is easy to do in Web Service. The SendData() method could receive your XML string as tcXML as String.

From the client side, you could CursorToXML() and send that to the method. On the server, once received, you would then do the reverse process to have everything back as a VFP cursor.

As this is FoxPro 2.6, you would probably want to build your XML manually as CursorToXML() is not supported. But, the process can remain the same.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform