On Thursday, 8 June 2000, Al Boyd <aboyd@...> wrote: > >I downloaded some sample code (OTSimpleDownloadHTTP) from Apple's Developers >Website last night. Has anyone out there converted this sample code over to >FB? The code also comes in an compiled app. What the code does is download >the HTTP source of a webpage and saves it as a text file. I want my >hurricane tracking program to do something similar to this, but don't want >to save the source. I want to take the data the NHC (National Hurricane >Center) post on the internet and convert it where it's compatible/viewable >with my program. > >I did look at Greg Neagles's TCP Demo done in FB. Looks like it would be a >good starting point, but don't know where to go after that. > >All this OT stuff is Greek to me. > >A kick in the right direction would be much appreciated. > I used Gregs TCP code to make a FN RequestURL, but the I modified the code heavily to make it async to my apps (multiple event loops). It also relies on a number of other Includes to function (like a modified version of mars' long string utils). All that being said, as long as your app is re-entrant safe, it all comes down to one call to FN RequestURL. If none of this worries you, let me know and I'll coble together an example .MAIN for you. Jamin