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:

    
  1. Re: How to include weather (Kenneth Grome 2000)
  2. Re: How to include weather (Jeff Logan 2000)
  3. Re: How to include weather (Alex McCombie 2000)
  4. Re: How to include weather (Alex McCombie 2000)
  5. Re: How to include weather (Aaron Lynch 2000)
  6. Re: How to include weather (Alex McCombie 2000)
  7. Re: How to include weather (Charles Kline 2000)
  8. Re: How to include weather (Charles Kline 2000)
  9. Re: How to include weather (Kenneth Grome 2000)
  10. Re: How to include weather (Dale 2000)
  11. Re: How to include weather (Jeff Logan 2000)
  12. Re: How to include weather (Joseph D'Andrea 2000)
  13. Re: How to include weather (Charles Kline 2000)
  14. Re: How to include weather (Kenneth Grome 2000)
  15. Re: How to include weather (Kenneth Grome 2000)
  16. Re: How to include weather (Jeff Logan 2000)
  17. Re: How to include weather (Charles Kline 2000)
  18. Re: How to include weather (Jeff Logan 2000)
  19. Re: How to include weather (Kenneth Grome 2000)
  20. Re: How to include weather (David M. Dantowitz 2000)
  21. Re: How to include weather (WebDNA Support 2000)
  22. How to include weather (Jeff Logan 2000)
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)