Set FTP transfer type to ASCII
the download and upload FTP mode to ASCII, which converts new line
characters. Use this method only for text files, including HTML pages
and Rich Text Format (RTF) files.
FTP object created by
Connect to the National Geophysical Data Center (NGDC) FTP server, and switch from binary (default) to ASCII mode:
ngdc = ftp('ftp.ngdc.noaa.gov'); ascii(ngdc)