Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IE automation
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
Divers
Thread ID:
00778814
Message ID:
00778857
Vues:
36
This message has been marked as the solution to the initial question of the thread.
cRequest = 'http://phpreview.nl.linux.org/download/xml/oreilly/1565927699.xml'
cTargetFile = 'c:\temp\myfile.xml'

IF DownloadRemote(cRequest, cTargetFile)
	MODI FILE (cTargetFile) NOWAIT
ENDIF

FUNCTION DownloadRemote(cRequest, cTargetFile)
	LOCAL lResult
	DECLARE INTEGER URLDownloadToFile IN urlmon;
		INTEGER, STRING, STRING, INTEGER, INTEGER
	WAIT WINDOW NOWAIT "Downloading remote file..."
	lResult = (URLDownloadToFile (0, cRequest, cTargetFile, 0,0) = 0)
	WAIT CLEAR
RETURN lResult
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform