MATLAB: Using dir with a url

dirurl

Hello all, I am trying to list the contents in a folder using a url. I would like to see all the files in a specified url directory. See below for an example file:
url='http://test.opendap.org/dap/data/nc/'; dir(url)
I keep getting an error for no matches. Any help is greatly appreciated. Thank you.

Best Answer

dir() does not respect url, and considers them just to be paths to hand to the file system.
Related Question