|
Posted by Jonathan N. Little on 04/09/07 14:48
J.O. Aho wrote:
> Jonathan N. Little wrote:
>> J.O. Aho wrote:
>>
>>> His link got messed up by line wrapping, try
>>> http://brettdrummond.googlepages.com/home.html
>>>
>> Also note the content served as "application/x-nagnagnag" does *not* by
>> default open in a browser! My SeaMonkey downloads
>>
>
> Not sure how you got it to be application/x-nagnagnag, this is the header sent
> from the webserver:
>
> Connecting to brettdrummond.googlepages.com|72.14.207.91|:80... connected.
> HTTP request sent, awaiting response...
> HTTP/1.0 200 OK
> Last-Modified: Sun, 08 Apr 2007 10:40:02 GMT
> Cache-control: public
> Expires: Mon, 09 Apr 2007 14:08:14 GMT
> Content-Length: 6284
> Content-Type: text/html
> Date: Mon, 09 Apr 2007 14:08:14 GMT
> Server: GFE/1.3
> Connection: Keep-Alive
> Length: 6,284 (6.1K) [text/html]
>
> The weather text comes from an ftp, and don't have headers as the ftp protocol
> don't use such.
>
Same here, but I think this is a SeaMonkey|Firefox security feature
textfile served via FTP are downloaded not displayed in the browser by
default.
What OP want is more like some serverside the PHP,
file_get_contents('ftp://ftp2.bom.gov.au/anon/gen/fwo/IDV10420.txt') or
CURL...
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
[Back to original message]
|