Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting a File II
Message
De
02/10/2002 11:51:15
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
02/10/2002 11:31:26
Fabian Belo
Independent Developer
Argentine
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00706896
Message ID:
00706910
Vues:
19
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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform