Re: How to include weather
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 34505
interpreted = N
texte = What to try making this code for me old buddy?Jeff>I never tried this but what if you had a trigger that had a [redirec>ftp://weather.noaa.gov/data/summaries/weather/wa.txt] in it. Where>would the file download to?>>Then, you could have a [waitforfile] that would move it to the right>spot on your webserver and then use [include file=wa.txt] to load it.>>I have used [redirect] to a file on an ftp server before, but never>in a trigger.>>- Charles>> >Thanks Ken that is what I thought.> >> >Jeff Logan> >> >> >> >> >>I want to include the file at> >> >>ftp://weather.noaa.gov/data/summaries/weather/wa.txt> >> >>> >> >>the wa.txt in my web site how would I do this?> >> >> >> >[TCPConnect] shows an example of grabbing the text from a URL from> >> >another site. The example shows how to get the home page url /, but> >> >you can add more to your URL to get a different page.> >>> >>Except for one thing -- TCPConnect does not work with ftp url's, and> >>the url above is an ftp url. So unless there's a web server on this> >>box that can serve this page via http, TCPConnect is not going to> >>work for you.> >>> >>And if that is the case here, I would suggest downloading the file to> >>your server and including it in your page via a standard [include> > >file=wa.txt] tag.> >>>>------------------------------------------------------------->This message is sent to you because you are subscribed to> the mailing list
.>To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to >>Web Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
What to try making this code for me old buddy?Jeff>I never tried this but what if you had a trigger that had a [redirec>ftp://weather.noaa.gov/data/summaries/weather/wa.txt] in it. Where>would the file download to?>>Then, you could have a [waitforfile] that would move it to the right>spot on your webserver and then use [include file=wa.txt] to load it.>>I have used [redirect] to a file on an ftp server before, but never>in a trigger.>>- Charles>> >Thanks Ken that is what I thought.> >> >Jeff Logan> >> >> >> >> >>I want to include the file at> >> >>ftp://weather.noaa.gov/data/summaries/weather/wa.txt> >> >>> >> >>the wa.txt in my web site how would I do this?> >> >> >> >[tcpconnect] shows an example of grabbing the text from a URL from> >> >another site. The example shows how to get the home page url /, but> >> >you can add more to your URL to get a different page.> >>> >>Except for one thing -- TCPConnect does not work with ftp url's, and> >>the url above is an ftp url. So unless there's a web server on this> >>box that can serve this page via http, TCPConnect is not going to> >>work for you.> >>> >>And if that is the case here, I would suggest downloading the file to> >>your server and including it in your page via a standard [include> > >file=wa.txt] tag.> >>>>------------------------------------------------------------->This message is sent to you because you are subscribed to> the mailing list .>To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to >>Web Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Jeff Logan
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Not really WebCat - need HTML Grider (1997)
Grepping spaces (2004)
[encrypt] blues.... (2000)
Speed Admin? (Was FlushDatabases) (1997)
wo search help (1999)
Bad/GoodPath.inc and value of [cart]? (2000)
Sensations (1997)
Multiple catalog databases and showcart (1997)
WebCat2: Items xx to xx shown, etc. (1997)
Failure to document significant changes ... (2000)
Include + Variables = bahh (2000)
Running more than one WebCatalog serial# (1998)
Re:webten vs. webstar (1998)
shoppingcart reload qty (1997)
Snake Bites (1997)
A cool slideshow, slightly OT (2002)
PCS Frames (1997)
Sami (1998)
WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997)
Modifying databases manually (was Banner DNA) (1997)