wheunited.blogg.se

Idl readf
Idl readf













  • the last command is a blank string (actually a LF).
  • the request must include a Host:Port keyword.
  • the remote file must include a full path name and be followed by a protocol, which is HTTP 1.1 in this example.
  • idl readf

  • the GET request is sent as text by using printf.
  • In the following example, I open a socket to the mission website for NASA’s Solar Dynamics Observatory and send a GET request for a JPEG image of the Sun at.
  • Get_lun = keyword to request a logical unit number.
  • idl readf

    The socket command syntax is: socket,unit,host,port,/get_lun In this post, I will demonstrate how to use the socket procedure to download a file by sending an HTTP GET request. The IDL socket procedure is a powerful tool for connecting to and accessing content on remote servers.















    Idl readf