Re: [thredds] Direct file download problem

Hi Ethan,

Thanks for confirming that. It's not an urgent request, so it's good to know that it's now logged in the tracking system :)

Thanks,

-Pauline.

On 21/07/10 2:10 AM, Ethan Davis wrote:
Hi Pauline,

Though perhaps surprising, that is currently how the TDS works. It uses
the services listed in the configuration catalogs to know which data
access methods to advertise. It has never used that information to
restrict the data access methods supported for a particular dataset.

This behavior has always seemed a bit unusual to me but it has never
been a high priority to change. I've added this as an issue in our
tracking system.

Cheers,

Ethan

On 7/20/2010 1:08 AM, Pauline Mak wrote:
Hi all,

I've configured a service with the following services:

   <service name="all" base="" serviceType="compound">
     <service name="odap" serviceType="OpenDAP" base="/thredds/dodsC/" />
     <service name="wcs" serviceType="WCS" base="/thredds/wcs/" />
     <service name="wms" serviceType="WMS" base="/thredds/wms/" />
     <service name="ncss" serviceType="NetcdfSubset"
base="/thredds/ncss/" />
   </service>

And configured in a datasetScan:

<datasetScan name="Test all files in a directory" ID="testDatasetScan"
                path="testAll" location="content/testdata">

     <metadata inherited="true">
       <serviceName>all</serviceName>
       <dataType>Grid</dataType>
     </metadata>

     <filter>
     </filter>

   </datasetScan>

I then browse to the appropriate directory in my browser and find the
following links:

    1. OPENDAP: /thredds/dodsC/testAll/2004050412_eta_211.nc
    2. WCS: /thredds/wcs/testAll/2004050412_eta_211.nc
    3. WMS: /thredds/wms/testAll/2004050412_eta_211.nc
    4. NetcdfSubset: /thredds/ncss/testAll/2004050412_eta_211.nc


This looks fine... however, I can also handcraft a fileServer URL like so:

http://localhost:8080/thredds/fileServ er/testAll/2004050412_eta_211.nc

And download the file.  Is that the correct behaviour?  I would think
that since the dataset hasn't been configured to use fileServer, then
the above link should not work...

I'm using 4.2.20100707.0012, but also got a similar result using (a
really old version!) TDS 4.0.36 too.

Cheers,

-Pauline.


_______________________________________________
thredds mailing list
thredds@xxxxxxxxxxxxxxxx
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/


--
Pauline Mak
AODN-DO
Ph: (03) 6226 8586
Mob: 0411 638 196
Email: pauline.mak@xxxxxxxxxxx



  • 2010 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: