I need to read in a webpage. Any places to start ?
generalGOTCHA 0 Newbie Poster
Recommended Answers
Jump to PostThe easiest way would be to fork off a call to wget and pipe back its output.
Jump to PostSomehow, I don't like the solution of using
system()
calls. Maybe it's because
system()
calls are way slower than using libraries or hard-coding the socket calls yourself- Any client machine would be required to have
wget
installed- It leaves files all over the hard drive
- It requires read/write …
Jump to Post>any client would need libcurl
Not if you statically link libcurl.>its a trivial problem that requires one line of code
Something that you neglected to implement in your last example.>its irrelevent
How so? If, when the program closes, nothing is changed on the hard drive, why …
Jump to PostWell yes wget does work for windows after all. The only problem is it doesnt work on the IntraNet page I am trying to read from. It's not reading into wget, but every other external internet webpage does !
Probably something to do with the ampersands …
All 21 Replies
ndeniche 402 Posting Virtuoso Featured Poster
generalGOTCHA 0 Newbie Poster
ndeniche 402 Posting Virtuoso Featured Poster
CodyOebel -2 Junior Poster in Training
CodyOebel -2 Junior Poster in Training
ndeniche 402 Posting Virtuoso Featured Poster
Rashakil Fol 978 Super Senior Demiposter Team Colleague
Sturm 270 Veteran Poster
Salem 5,265 Posting Sage
CodyOebel -2 Junior Poster in Training
Sturm 270 Veteran Poster
Sturm 270 Veteran Poster
Sturm 270 Veteran Poster
John A 1,896 Vampirical Lurker Team Colleague
Sturm 270 Veteran Poster
John A 1,896 Vampirical Lurker Team Colleague
Sturm 270 Veteran Poster
CodyOebel -2 Junior Poster in Training
John A 1,896 Vampirical Lurker Team Colleague
Sturm 270 Veteran Poster
kxh29 0 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.