Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get a web document?
Message
From
22/01/2005 04:45:46
 
 
To
21/01/2005 17:31:37
Felix Rollin
datanovasoftware.com
Westmount, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00979481
Message ID:
00979551
Views:
11
Function getfilefromurl
Lparameters lcRemoteFile,lcLocalFile
Local lnReturn
Declare Integer URLDownloadToFile In urlmon.Dll;
  INTEGER pCaller, String szURL, String szFileName,;
  INTEGER dwReserved, Integer lpfnCB
lnReturn = URLDownloadToFile (0, lcRemoteFile, lcLocalFile, 0, 0)
Return lnReturn=0
>Hi,
> I would like to know how I could save an ascii file from a web server from within fox pro. i.e. I fox pro I would open ("http://www.myweb.com/page1.txt") and save the file on my c drive?
>
>
>Thanks...
>
>PS please respond to my e-mail box!
Previous
Reply
Map
View

Click here to load this message in the networking platform