How to retrieve files from ftp website
이전 댓글 표시
I tried mget, urlread, and webread and none seemed to work for me
Any assistance would be appreciated!
답변 (2개)
Walter Roberson
2020년 5월 2일
1 개 추천
You create a connection, and then you use cd() and mget() and so on on the object.
댓글 수: 4
Tiger
2020년 5월 2일
Image Analyst
2020년 5월 2일
Do you need a password to login to the site? If you do it via your web browser does it work?
Tiger
2020년 5월 2일
Walter Roberson
2020년 5월 3일
obj = ftp('usgodae.org');
cd(obj, '/pub/outgoing/argo/dac/aoml/13857/');
mget(obj, '13857_tech.nc')
close(obj)
Ameer Hamza
2020년 5월 2일
0 개 추천
댓글 수: 3
Tiger
2020년 5월 2일
Ameer Hamza
2020년 5월 2일
Can you show your code with mget().
Image Analyst
2020년 5월 2일
outfilename = websave('13857_tech.nc', 'https://usgodae.org/pub/outgoing/argo/dac/aoml/13857/')
only brings down the HTML document, not the actual file.
카테고리
도움말 센터 및 File Exchange에서 Web Services에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!