Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
So much to download
Message
 
À
03/05/2012 15:16:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01543133
Message ID:
01543160
Vues:
86
>Hi All,
>
>I have to download a file of Denied Persons ("http://www.bis.doc.gov/dpl/dpl.txt") to a specified location that my app can process, but I'd like to do it in the background without having to launch a browser. How can I do this?
>Thanks.
>
>Luke

Something like:
lcURL="http://www.bis.doc.gov/dpl/dpl.txt"
cTargetFile = 'c:\temp\dpl.txt'

DECLARE INTEGER URLDownloadToFile IN urlmon;
		INTEGER, STRING, STRING, INTEGER, INTEGER
ERASE (cTargetFile)
if NOT (URLDownloadToFile (0, lcURL, cTargetFile, 0,0) = 0)
      ?? " not downloaded? "
ENDIF
....
Good Luck
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform