MATLAB Function Reference Previous page   Next Page
ascii (ftp)

Set FTP transfer type to ASCII

Syntax

Description

ascii(f) sets the download and upload FTP mode to ASCII, which converts new lines, where f was created using ftp. Use this function for text files only, including HTML pages and Rich Text Format (RTF) files.

Examples

Connect to the MathWorks FTP server, and display the FTP object.

Note that the FTP object defaults to binary mode.

Use the ascii function to set the FTP mode to ASCII, and use the disp function to display the FTP object.

Note that the FTP object is now set to ASCII mode.

See Also

ftp, binary (ftp)


Previous page  Areaseries Properties asec Next page

© 1994-2005 The MathWorks, Inc.