Hi Mike,
To transfer something to a web site certain steps should be followed
- establish connection with the host
- open HTTP request, usually of type POST
- set optional request headers
the headers are used to pass to the web server credentials or settings etc., something not very large
- send HTTP request; at this step you may attach bulk data like .dbf
- get initial response information (QueryInfo) and analyze response headers
there might be a lot of useful info in the response headers
- get response body if any
- close the request
There are several ways of implementing such functionality:
(1) Using WinInet set of API functions
HttpOpenRequest
HttpQueryInfo
HttpSendRequest
InternetCloseHandle
InternetConnect
InternetOpen
InternetQueryDataAvailable
InternetReadFile
...
(2) Using WinHTTP set of API functions:
WinHttpAddRequestHeaders
WinHttpCloseHandle
WinHttpConnect
WinHttpCrackUrl
WinHttpOpen
WinHttpOpenRequest
WinHttpQueryDataAvailable
WinHttpQueryHeaders
WinHttpReadData
WinHttpReceiveResponse
WinHttpSendRequest
WinHttpSetCredentials
...
(3) Using ActiveX, like WestWind one that Denis already mentioned or another one from the Microsoft
oHttp = CreateObject('MSXML2.ServerXMLHTTP')
...