Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IE automation
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
Miscellaneous
Thread ID:
00778814
Message ID:
00778857
Views:
34
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
Previous
Reply
Map
View

Click here to load this message in the networking platform