Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting a File II
Message
From
02/10/2002 11:51:15
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
02/10/2002 11:31:26
Fabian Belo
Independent Developer
Argentina
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00706896
Message ID:
00706910
Views:
18
Thanks, this solution is quite a lot simpler. However, the other approach does has some benefits too, for instance, the fact that it shows the progress.

Do you happen to know what happens when the Web site requests a password? Does the login dialog appear, just as in the browser? This would be acceptable, but I am also curious whether the login & password can be passed from VFP.

Saludos, Hilmar.

>Another (simplify) way to catch URLs & certain web files:
>
>
>Declare Long URLDownloadToFile in "urlmon";
>Long pCaller,;
>String szURL,;
>String szFileName,;
>Long dwReserved,;
>Long lpfnCB
>
>url="http://www.whatever.com"
>*Add any extension (html - asp - txt...etc
>localfilename="d:/yourfile.extension"
>ngRetVal = URLDownloadToFile(0, URL, LocalFilename, 0, 0)
>? ngRetVal
>
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform