Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Internet Transfer Control
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00533690
Message ID:
00535529
Views:
10
>Specific questions.
>Does soemthing have to be set up on the web server to accept http posts? if so what. ? some GCI programming. ?
Sending docs with FTP would not rquire CGI programming.
>
>can sending files to a web server be done inside VFP using http, or do I have to use FTP to actually post files to server ?
You can do HTTP from inside fox. But I think FTP transfers are faster.

>
>are there any VFP samples anywhere that shows how to use this active x control inside VFP - all I have found is VB samples (inside the contol itself )
Have you run the sample code to download "Disclaimer.txt" from the MS ftp site.
1) You have to make the connection
2) Get through any security. I don't think uploads are allowed to anonymous sites.
3) Put is pretty straight forward.
3) Gets and Dir use GETCHUNK. Dir is helpful provide a list of files avialable for ftp download.
Study the ITC's StateChanged event. It may be a good idea to echo "state messages" to the interface during transfers just so the user knows somthing is going on. You may need Timer services to refresh a local list of available server files.

There is an article in the KB - I'll look for it - regarding WININET. WestWind is always a good resource. Maybe I can snip a prg that demos the ITC's features.



>
>Thanks, and of couse any help would be appriciated.
>
>Bob Lee
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform