Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FTP and Firewalls
Message
From
10/10/2001 20:39:53
 
 
To
10/10/2001 18:26:54
Herb Ellerbock
Customized Computer Systems
Australia
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00566347
Message ID:
00566733
Views:
9
>Erik,
>Thanks for your comments. I am using the Mabry Software FTP/X control, which allows me to plug in all the firewall properties before 'connecting' to the IP. However, it does not expose the IPHandle properties.

If you can set them with high-level properties, that's even better. But the trick is to determine when you need to set the properties, and what properties to set. Usually this involves asking the user of the machine about his proxy settings, and storing that input somewhere for use when the FTP process runs.

>I haven't done much with API calls, can you steer me towards any applicable code samples?

I can, but I don't think you want to open that can of worms, because handling all the low level stuff is what you bought the control for. WinInet.dll has all the functions you need to write your own FTP class, but you'll be reinventing the wheel. If you're up for an adventure, look in the files section here for (I think it's Robert Abram's) FTP class that's written entirely in VFP. You can use this as a starting point, but will want to look at the the additional functions InternetSetOption and InternetQueryOption which you'll use to check and set proxy properties.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform