Page 1 of 1

Problem accessing subscription data

Posted: Thu Jun 27, 2019 2:08 pm America/New_York
by jeffg
Hi,

Since yesterday our scripts are failing to connect when we try to use the file_search.cgi  function to get a list of files in our subscription.  We get back ERROR 403: Forbidden.

(Here is an example of the wget command from the script)
wget --no-check-certificate --post-data="subID=244&results_as_file=1" -O - https://oceandata.sci.gsfc.nasa.gov/search/file_search.cgi>c:\seadas\aqua\subfiles.tmp

I can access the subscriptions on the website.

Thanks for your help!

Jeff

Problem accessing subscription data

Posted: Thu Jun 27, 2019 2:17 pm America/New_York
by OB.DAACx - amscott
You had an old URL to the file_search utility.

Use wget --no-check-certificate --post-data="subID=244&results_as_file=1" -O - https://oceandata.sci.gsfc.nasa.gov/api/file_search  > c:\seadas\aqua\subfiles.tmp

Problem accessing subscription data

Posted: Thu Jun 27, 2019 3:41 pm America/New_York
by jeffg
Thank you!  That fixed it.