At 08:19 -0800 11/9/09, Bee wrote: >Since ascii transfers convert line endings and >line endings are not important to html and >most modern text editors and word processors do not care... > >I transfer everything binary because >I do not want ftp or anything else messing with my files.
AMEN. ftp in ASCII mode converts line endings to "internet standard" \r\n and it's up to the receiving computer to know what it wants and convert back. Things like an XML file in which tags have line endings but its OK to have a tag introduce binary content in a file that might look a lot like ASCII to an ftp server are a total disaster when a binary octet gets changed because it happens to be 0D or 0A. The server has as much of a problem determining if the file is binary or text as the OP did. If, however, you're writing a cgi script in perl on a classic Mac, with an old copy of BBEdit of course, you can safely deliver the script to your UNIX web host using ASCII mode to change those 0D's to 0A's. The point is that you know what the file to be delivered looks like. -- --> From the U S of A, the only socialist country that refuses to admit it. <-- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email "supp...@barebones.com" rather than posting to the group. -~----------~----~----~----~------~----~------~--~---