Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tools for HTTP downloads
Message
 
 
To
13/12/2001 18:11:40
Joel Leach
Memorial Business Systems, Inc.
Tennessee, United States
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00594132
Message ID:
00594145
Views:
58
>>>Can you recommend any VFP tools or procedures for downloading files over HTTP? We want to implement something like Norton LiveUpdate in our application. Hopefully, McAffee won't sue us. <g>
>>>
>>>Thanks.
>>
>>Joel,
>>Rick Strahl's wwIPStuff gives you this capability. Ex.
>>lcdata = oip.HttpGet('http://mysite.mydomain.com/Updates/MyUpdates.zip')
>>if strtofile(lcdata,'UpdateFile.zip',0) > 0 then
>>   * process the update file and do what you need
>>endif
>>
>>HTH.
>
>Larry,
>
>Thanks for the info. Do you know if wwIPStuff supports progress updates on the download? Also, do you know any VFP options for zip/unzip tools?

For most methods, it has a corresponding Async method. You can execute that version and create your own progress bar. FWIW, we don't bother with displaying the exact progress. When downloading a huge file, we simply display a form with an AVI displaying a Download (e.g. Explorer's copy file).

wwIPStuff also acts as a wrapper to the DynaZip DLL. Mark McCasland also wrote a DynaZip wrapper that you can find in the Downloads section. I posted some code yesterday that gives you the capability to tap into DynaZip and get the information to create your own progress bar (you will need VFP 7 for it to work).

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform