Text File Downloads : Binary vs. ASCII

Core FTP client questions and answers
Post Reply
kahorton
Posts: 4
Joined: Mon Apr 07, 2008 12:54 am

Text File Downloads : Binary vs. ASCII

Post by kahorton »

I recently noticed that when downloading some text files that they contained an extra blank line between each line of text. Examination of the file with a file editor showed that each line was terminated by a <CR><CR><LF>.

This problem occurred if the mode was set to ASCII. If the mode was set to BINARY then the problem did not occur as each new line was terminated only by a <CR><LF>.

Are there cases where BINARY should be used even though the file is a text file?

Thanks ....
Post Reply