MATLAB: Download files from ftp by matlab scripts.

ftp

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!

Best Answer

together with the ftp() command. Also look at try/catch
Related Question