How to retrieve files from ftp website
9 views (last 30 days)
Show older comments
I tried mget, urlread, and webread and none seemed to work for me
Any assistance would be appreciated!
0 Comments
Answers (2)
Walter Roberson
on 2 May 2020
You create a connection, and then you use cd() and mget() and so on on the object.
4 Comments
Walter Roberson
on 3 May 2020
obj = ftp('usgodae.org');
cd(obj, '/pub/outgoing/argo/dac/aoml/13857/');
mget(obj, '13857_tech.nc')
close(obj)
Ameer Hamza
on 2 May 2020
3 Comments
Image Analyst
on 2 May 2020
outfilename = websave('13857_tech.nc', 'https://usgodae.org/pub/outgoing/argo/dac/aoml/13857/')
only brings down the HTML document, not the actual file.
See Also
Categories
Find more on FTP File Operations 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!