[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #RDL-638701]: accessing netCDF/DAP files whose server requires authentication?

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [netCDF #RDL-638701]: accessing netCDF/DAP files whose server requires authentication?
  • Date: Fri, 27 Jan 2012 15:31:28 -0700

The netcdf-c code uses curl for its underlying
http read/write support. Curl has support for
specifying passwords for accessing controlled
sites.
If the site just requires simple username
plus password support, then you should be able
to insert that into the url in this form:
http://username:password@hostname...
Let me know if you have problems.

=Dennis Heimbigner
 Unidata

=Dennis Heimbigner
  Unidata


Ticket Details
===================
Ticket ID: RDL-638701
Department: Support netCDF
Priority: Normal
Status: Closed