download files from ftp by matlab scripts.

3 vues (au cours des 30 derniers jours)
Chen chen
Chen chen le 7 Nov 2012
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!

Réponse acceptée

Walter Roberson
Walter Roberson le 7 Nov 2012
together with the ftp() command. Also look at try/catch
  2 commentaires
Chen chen
Chen chen le 7 Nov 2012
Thanks! It's worked.
Chen chen
Chen chen le 15 Nov 2012
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?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Downloads dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by