Is there a way to use matlab to automate the download files from a web site
Show older comments
I want to copy files from a geographic database hosed on a website. I don't want to read the web page-just make a list of the files on the page and download them to my local machine 1 by 1 . I don't believe websave or webread is the appropriate tool.
6 Comments
Sean de Wolski
on 10 Feb 2020
webread/websave sound right to me. Can you share the website?
Stephen Forczyk
on 17 Feb 2020
Edited: Jan
on 15 Mar 2022
Rita Cognion
on 15 Mar 2022
I am having the same problem you had, 2 years on. I'm afraid you were right: websave and webread don't support it, and probably MATLAB doesn't enable simple file download. If anyone came up with a solution that uses MATLAB, I'd love to hear it.
Jan
on 15 Mar 2022
It would be useful if you post, how you have tried it with webread. Currently it is hard to suggest a workaround without knowing, what you are doing.
Loading thousands of files from a webpage sounds strange. Usually such data sets are made available using an FTP service. But if the page is really designed to make it as hard as possible to grab the data, I'd use the FireFox add-on "DownloadThemAll".
Stephen Forczyk
on 15 Mar 2022
Jan
on 16 Mar 2022
@Stephen Forczyk: Do you want to post how you have tried it with websave? Maybe you get a useful suggestion from the forum.
Did you contact the FTP-admin already? The limits are set to prevent millions of users to access all data. If you have a scientific interest, the admins usually give you a higher volume.
Answers (0)
Categories
Find more on Downloads in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!