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
-
- Posts: 396
- Joined: Mon Jun 22, 2020 5:24 pm America/New_York
- Has thanked: 8 times
- Been thanked: 8 times
Problem accessing subscription data
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
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