Re: How to include weather
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 34504
interpreted = N
texte = 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/
Associated Messages, from the most recent to the oldest:
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/
Charles Kline
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:
PCS Frames (1997)
HELP WITH DATES (1997)
Country & Ship-to address & other fields ? (1997)
Tax and ShipCost Problem (1997)
frames & carts (1997)
Return records from another (1997)
Sorting by date (1997)
Online reference (1997)
Database Helper missing? (2000)
[WebDNA] How WebDNA email sending works... (2012)
{middle} and variables (2002)
tab as word delimiter (2000)
quotes and truncating? (1997)
orders being printed (1998)
SiteGuard Admin Feature ? (1997)
Using files in an Email broadcast (1999)
Sendmail Excel Attachment (2006)
[WebDNA] Strange happenings (2012)
Public beta 6 for WebCatalog 4.0 is now available (2000)
psst (1997)