Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File download through VFP?
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00709121
Message ID:
00709143
Views:
16
This is one way to do this...
LOCAL cFile, nResults, cURL

DECLARE LONG URLDownloadToFile IN URLMON.DLL ;
        LONG, STRING, STRING, LONG, LONG

cURL  = "http://www.mywebsite.com/myfile.txt"
cFile = "c:\temp\myfile.txt"

nResults = URLDownloadToFile(0, cURL, cFile, 0, 0)

If nResult = 0    && OK
>If I know the exact URL of a file (.EXE for example) is there a way to download it programmatically, without any human interaction (no Save As dialog, etc.)?

Just an opinion... Not a fact.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform