download files from ftp by matlab scripts.

조회 수: 3 (최근 30일)
Chen chen
Chen chen 2012년 11월 7일
I have write a loop to download files form ftp.And I want to know how to continue the loop in matlab if the ftp server can't be connected ?
Thanks!

채택된 답변

Walter Roberson
Walter Roberson 2012년 11월 7일
together with the ftp() command. Also look at try/catch
  댓글 수: 2
Chen chen
Chen chen 2012년 11월 7일
Thanks! It's worked.
Chen chen
Chen chen 2012년 11월 15일
I have another problem. If the ftp server disk is broken, I can connect but can't receive data, and the script will be paused. Do you have any method or code to avoid it?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Downloads에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by