What is ASCII mode?
In ASCII mode a file may be changed slightly to maintain the meaning of EOL (End Of Line) characters. UNIX machines use a single line break character at the end of each line, whereas Windows systems use a line break and a carriage return. It is used when uploading text documents such as HTML, PHP, Perl CGI scripts and plain text files. Perl CGI scripts are particularly fussy about being uploaded in ASCII mode (the extra carriage return inserted by Windows systems messes them up otherwise).
Related Questions
- If you use the ftp command, make sure you do the transfer in binary mode rather than ASCII mode, by using the binary command before transferring the file. Q 2.2: Why can I get to the WinPcap Web site in order to download WinPcap?
- Are files transferred in binary or ascii mode by default?
- Should binary or ASCII (text) transfer mode be used?