라이선스가 부여된 사용자만 번역 문서를 볼 수 있습니다. 번역 문서를 보려면 로그인하십시오.

ascii

Class: FTP

Set FTP transfer type to ASCII

Syntax

ascii(ftpobj)

Description

ascii(ftpobj) sets 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.

Input Arguments

ftpobj

FTP object created by ftp.

Examples

Connect to the MathWorks® FTP server, and switch from binary (default) to ASCII mode:

mw=ftp('ftp.mathworks.com');
ascii(mw)

See Also

|

Was this topic helpful?