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 http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3Ftogether with the ftp() command. Also look at try/catch Related SolutionsMATLAB: Ftp connection I get the same behavior you get. This works for me though...f=ftp('tgftp.nws.noaa.gov');cd(f,'data/observations/metar/stations')mget(f,'KALB.TXT') MATLAB: Retrieving ftp data with loop Use sprintf() to construct the string to pass to ftp() Related QuestionMatlab FTP server client
Best Answer