comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » idlneturl question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: idlneturl question [message #90596 is a reply to message #90476] Thu, 12 March 2015 14:17 Go to previous messageGo to previous message
Dominic[2] is currently offline  Dominic[2]
Messages: 3
Registered: October 2014
Junior Member
Hi,

There is a way to read the response without downloading entire file. It involves interrupting the IDLnetURL GET request and returning after reading the response header. For example,

IDL> file=' http://emfisis.physics.uiowa.edu/Flight/RBSP-A/L3/2013/02/02 /rbsp-a_magnetometer_4sec-geo_emfisis-L3_20130202_v1.3.2.cdf'

IDL> header=webhead(file)

IDL> print,header
HTTP/1.1 200 OK
Date: Thu, 12 Mar 2015 21:12:22 GMT
Server: Apache/2.2.22 (Ubuntu)
Last-Modified: Thu, 29 Jan 2015 21:26:19 GMT
ETag: "53c077a-f7fa2-50dd123904e55"
Accept-Ranges: bytes
Content-Length: 1015714
Content-Type: application/x-cdf


Check out: http://www.heliodocs.com/wordpress/?p=1

where you can download webhead.pro. I have had some success using it with FTP URL's.

Dominic
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: X Windows display
Next Topic: SPAWN error question

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 16:08:48 PDT 2025

Total time taken to generate the page: 0.00194 seconds