|
-
July 17th, 2001, 03:19 PM
#1
Input Text file from web
I have a text file on the web (single character, either 1 or 0). I want my program to check this file and perform a function determined by the value of this file.
Can anyone help me get my program to recognize a file on the web?
Thanx!
JP
-
July 30th, 2001, 04:43 AM
#2
Re: Input Text file from web
Try looking up and using the WinInet (Windows Internet) commands. They are an easy way to integrate HTTP and FTP actions into your application (in your case, reading a file).
For your particular situation, the functions InternetOpenUrl() and InternetReadFile() seem the most useful.
Good luck!
John Peloquin
Peloweb.com
[email protected]
"Always remember to lock your keys in your car so little elves don't come and steal them out of your pocket" - Alexander Graham Bell
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|