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

Home » Public Forums » archive » IDLnetURL and SOCKET
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
IDLnetURL and SOCKET [message #89506] Wed, 22 October 2014 12:51 Go to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
Is there a way to open a file unit on a http:// server so that it can be processed with IDL? One can do this with the SOCKET procedure, and I have a program that will open a file on a remote server with SOCKET, which can then be processed with IDL commands (e.g. READU).

http://idlastro.gsfc.nasa.gov/ftp/pro/sockets/webget.pro

The problem is that SOCKET provides no framework for communicating with an http: server (e.g taking care of things like proxy servers, passwords, SSL certificates etc. ) and so I need to write these myself. The IDLNetURL object does take care of most of the http communication protocols and I have happily used it to copy remote files to disk or to a buffer. But I don't believe it is possible to open a remote file with IDLNetURL -- for example, if one just wants to read the first line of a remote file and not read the entire file. So what I think I need is some way to combine SOCKET and IDLnetURL.

Or perhaps I need think about this in a different way. Thanks, --Wayne
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Fleurdelas - Carbomap's Open Source LiDAR file manipulator - now fully support LAS 1.4 and the Extra Bytes VLR
Next Topic: IDL 8.4 LOADCT performance

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

Current Time: Wed Oct 08 15:11:09 PDT 2025

Total time taken to generate the page: 0.00428 seconds